Which is the active fork in DFL gui library ?

Mike Parker aldacron at gmail.com
Sun Nov 3 07:07:42 UTC 2019


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);
}




More information about the Digitalmars-d-learn mailing list