Windows program instant crash: no messages.

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Jun 12 01:32:41 PDT 2012


On 12.06.2012 11:17, Nekroze wrote:
> Hello. I am trying to make a wrapper to use the DarkGDK 3d game engine
> for windows with D and i am doing rather well so far. I have just gotten
> it to successfully compile however the resulting exe instantly crashes
> and outputs nothing at all even though the very first command in WinMain
> is writeln which doesnt show up.

It may be the case that you need to call rt_init(); at first line of 
WinMain. Every time I see WinMain problems it boils down to D runtime 
not setup properly.


-- 
Dmitry Olshansky


More information about the Digitalmars-d-learn mailing list