When started from VC6 IDE, I receive 7 arguments in argc/argv. When
started from console I receive 8 arguments in argc/argv. What should I do?
This is how I strat my console app from debugger:
-p1 -p2 -p3 -p4 -p5 -p6 -p7
This is how I start my console app from console:
TestApp -p1 -p2 -p3 -p4 -p5 -p6 -p7
I've tryed to add "TestApp" in a front of debugger argument list, but
then I have to change argv[3] into argv[4] in my app, if my app was invoked
from VC6 IDE, but I don't know if my console app was started from VC6 IDE or
console.
I'm using Windows XP Pro.