Do the parameters print ok when coded like this ? I am assuming you are NOT compiling for UNICODE because if you were you would be getting other problems.
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
for(int i = 0; i < argc; i++)
cout << argv[i] << "\n";
return 0;
}
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343