Does the WInMain function is mandatory ?

Vinod K Chandran kcvinu82 at gmail.com
Sun Sep 30 13:17:33 UTC 2018


On Sunday, 30 September 2018 at 12:48:17 UTC, Adam D. Ruppe wrote:

>
> so usage is:
>
> toUTFz!(wchar*)(your_string_here);
>
>
> If passing string literals to Windows, you can put a w at the 
> end, like:
>
> MessageBoxW(null, "Hello"w, "World"w, 0); // note the ""w

Thanks for the reply. But it says "toUTFz" is not defined. do i 
missing any import statement ?




More information about the Digitalmars-d-learn mailing list