Turning off Runtime Check in VC7
The compiler probably detected the uninitialized variable during static checking. Try decreasing the warning level.
Tried that but it didn't work.
Sorry, I misunderstood that. I don't know what happened then, unless it's the Visual Studio build engine again that doesn't know what to rebuild.
I suppose it goes without saying that you ought to actually fix the problem with your code, as well...
Uh yeah the way to fix that error is to initialize x before you use it...
I didn't managed to figure it out, but I took the advice to make sure the variables are initialised. Thanks for the help.
Fog Creek Home