Which is the active fork in DFL gui library ?

Vinod K Chandran kcvinu82 at gmail.com
Sun Nov 3 16:45:58 UTC 2019


On Sunday, 3 November 2019 at 07:07:42 UTC, Mike Parker wrote:
> On Sunday, 3 November 2019 at 07:06:12 UTC, Mike Parker wrote:
>
>>
>> Here's an example, winhello.d, that should work with all of 
>> the following command lines:
>>
>
> Sorry, here's the example:
>
> == winhello.d
>
> /+ dub.sdl:
> name "entry"
> dflags "-L/SUBSYSTEM:WINDOWS" "-L/ENTRY:mainCRTStartup" 
> platform="windows-dmd"
> +/
>
> import core.sys.windows.windows;
> pragma(lib, "user32");
>
> void main() {
>     MessageBoxA(null, "Hello", "Hello", MB_OK);
> }

@mike Parker,
Thank you for the detailed and helpful reply. I will sure try it.


More information about the Digitalmars-d-learn mailing list