I am pretty much new to VC++. I am actually working on getting command line parameters to VC++ app. I have pasted my code into it:
int WINAPI WinMain(HINSTANCE hInstance,
char* str2 = lpCmdLine;
//This actually gets only the first argument from the arguments list.
Eg: C:\>Hello.exe Test this out
I get only Test in the output.
Could somebody tellme how to get the command line parameters into this code.
Thanks in advance,