<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 8 January 2014 07:29, Adam D. Ruppe <span dir="ltr"><<a href="mailto:destructionator@gmail.com" target="_blank">destructionator@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tuesday, 7 January 2014 at 21:26:07 UTC, Manu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This doesn't work anymore. I don't know what the proper way to boot a Win32 app is.<br>
</blockquote>
<br></div>
The easiest way is to just write a regular program with a main() instead of a WinMain. If you need the args, you can get them from functions like GetModuleHandle, GetCommandLine, etc.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it required to explicitly init the runtime?<br>
</blockquote>
<br></div>
If you want to use WinMain directly, yes, use Runtime.initalize before doing anything else. But I say regular main is much easier.<br>
</blockquote></div><br></div><div class="gmail_extra">It complains and says to use rt_init(), and that exception handler thing is gone.</div><div class="gmail_extra">I think that page needs to be updated by someone who knows how it should look.</div>
</div>