I ran into the same problem using Visual Studio 6.0. Seems like while trying to bypass some of the VS6 generated code (basetsd.h) I did something that corrupted the whole compiler. What I had to do...