Building Win32 application via dub
aldacron at gmail.com
Wed Apr 29 12:26:02 UTC 2020
On Wednesday, 29 April 2020 at 11:55:54 UTC, Sam E. wrote:
> I cannot find a D example using Win32 and the normal main
> function, and while it is working for simple message boxes, as
> soon as I want to do something slightly more complex (using a
> window), an hInstance has to be provided (as far as I
> understand, I'm not that knowledgeable with Win32).
FYI, a quick google turned up this example:
It's C++ and not D, but the Win32 calls are the same. You should
be able to adapt that to D fairly easily.
More information about the Digitalmars-d-learn