The standard way of starting a new program is by creating a small amount of starter code that calls a winmain function.
This seems fine for the average C programmer who has to go out of his way to do it any other way, but in assembly language it seems redundant.

I was curious how other people start their code.
Posted on 2002-06-04 14:24:20 by Satrukaan
I start my code with,


I terminate it with,


Posted on 2002-06-05 02:49:08 by hutch--
If its a Dialog App then I use

invoke GetModuleHandle,eax
mov gIst,eax
invoke DialogBoxParam,eax,100,0,addr DlgProc,0
invoke ExitProcess,0
invoke InitCommonControlsEx,0
END Start

If its a regular window app of course its more complicated but I don't bother writing a winmain proc.
Posted on 2002-06-05 05:10:44 by Eóin