getting Win32 Messagebox to work

Adam D. Ruppe destructionator at gmail.com
Fri Oct 26 15:23:17 UTC 2018


On Friday, 26 October 2018 at 15:10:14 UTC, Mark Moorhen wrote:
> It does compile, but does not run as expected. Any clues?

You imported, but never actually called Runtime.initalize().

Just stick that at the top, first thing you do inside WinMain, 
and it will work. (or use main instead of WinMain!)


More information about the Digitalmars-d-learn mailing list