Link to home
Start Free TrialLog in
Avatar of zstafa
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.
Avatar of jkr
jkr
Flag of Germany image

Well, what arguments would you like to use and for what purpose?
Avatar of zstafa
zstafa

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

?
Oh, and what meaning/variable names should the fields have?
Avatar of zstafa

ASKER

Yes that is correct. The names will be

char[100] ip
int channel
LONGINT startd
LONGINT endd
LONGINT startt
LONGINT endt
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zstafa

ASKER

I'm still having issues populating m_commandLineParameters. Let me know if you want tme to start another thread. Thanks