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---------
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
This one:
GetCL proto :DWORD, :DWORD
is defined in MASM32.inc
and works in NT 4.
hth
vesa