Windows startup docs are out of date

Manu turkeyman at gmail.com
Tue Jan 7 13:36:51 PST 2014


On 8 January 2014 07:29, Adam D. Ruppe <destructionator at gmail.com> wrote:

> On Tuesday, 7 January 2014 at 21:26:07 UTC, Manu wrote:
>
>> This doesn't work anymore. I don't know what the proper way to boot a
>> Win32 app is.
>>
>
> 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.
>
>
>  Is it required to explicitly init the runtime?
>>
>
> If you want to use WinMain directly, yes, use Runtime.initalize before
> doing anything else. But I say regular main is much easier.
>

It complains and says to use rt_init(), and that exception handler thing is
gone.
I think that page needs to be updated by someone who knows how it should
look.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140108/9fd3deea/attachment-0001.html>


More information about the Digitalmars-d mailing list