Click to See Complete Forum and Search --> : hi


sharenet
June 11th, 2003, 03:42 PM
Hi there i am writing at this time a small WIN 32 engime....can somebody tell me how I can take into a CString (or char) whta is after the command name like:
command.exe --help
or
command.exe --server
or
command.exe --client
???
I will be very happy
Thx.

dimm_coder
June 12th, 2003, 11:12 AM
Donot understand what problem.
If U have WinMain() so U have a lpCmdLine in it or use GetCommandLine().

PS: Next time U might write a more appropriate subject for your message which covers your problem. For ex. in this case: "Process'es command line" or smth. else.

Mick
June 12th, 2003, 11:51 AM
Originally posted by dimm_coder
PS: Next time U might write a more appropriate subject for your message which covers your problem. For ex. in this case: "Process'es command line" or smth. else.

We have already covered this subject to great extent for sharenet...but I thought...instead of answering his questions....I'd just say:

bye.

dimm_coder
June 13th, 2003, 03:16 AM
Originally posted by Mick_2002
We have already covered this subject to great extent for sharenet...but I thought...instead of answering his questions....I'd just say:

bye.

Well, Mick, I know.
But I always try to be more tolerance to others, except when something was made with malicious intent. But this is not that case. Hope, that next time he will corect his mistake.