zstafa
asked on
Hey jkr how do I extract the command line args using parsecommandline?
Now that I have everything installed how do I extract the command line args? Thanks.
Well, what arguments would you like to use and for what purpose?
ASKER
I just need to read in an ip address as a character array, an int, and 4 LONGINTs
And in which format should that be? E.g.
prog.exe 127.0.0.1 1234 4567 8901 2345
?
prog.exe 127.0.0.1 1234 4567 8901 2345
?
Oh, and what meaning/variable names should the fields have?
ASKER
Yes that is correct. The names will be
char[100] ip
int channel
LONGINT startd
LONGINT endd
LONGINT startt
LONGINT endt
char[100] ip
int channel
LONGINT startd
LONGINT endd
LONGINT startt
LONGINT endt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm still having issues populating m_commandLineParameters. Let me know if you want tme to start another thread. Thanks