Hey guys. I was wondering if anyone new the equivalent to C's **argv and argc? I had a hunch it was the last two parameters of the standard WinMain arguments, the LPSTR and int variable.
But even if so, I cannot manipulate them as such. For instance, with C's **argv variable, I can do:
puts(argv[0]);
But
TextOut(hdc, x, y, myLpstr[0], len);
crashes my system!
So either I got the wrong variables, or else I just am wrong that a LPSTR is just a typedef for a char **...
Any idea?