Please tell me how to get command line. On following code, GetCommandLine dont work. Why? And how can I get command line? ( This program dont have WinMain ) ;---------code start--------------- .586 .model flat .data ... ... ... .code start: call GetCommandLine ; <- this dont work ... ... start end ;----------------code end---------
Posted on 2001-02-26 05:13:00 by neasm
What doesn't work? I can not see any code after GetCommand Line. call GetCommandLine xor edx,edx invoke MessageBox,edx,eax,eax,edx will show something The Svin. There are other way to get command line but you must say in what OS you will use it The Svin
Posted on 2001-02-26 07:02:00 by The Svin
This one: GetCL proto :DWORD, :DWORD is defined in MASM32.inc and works in NT 4. hth vesa
Posted on 2001-02-26 08:15:00 by vesa