compiling directx 9 problems

Started by
19 comments, last by Mattijs2 15 years, 6 months ago
Quote:
Changing headers like that is a really bad idea - you've just stopped your code compiling on any other machine except your own, and if you ever need to reinstall Visual Studio, you'll have to make those changes again.


Funny enough, this is not true. I have the same Visual Studio on my laptop with 32 bit Vista, and everything compiles fine without the changes to winnt.h. I had the same problem at work though and ended up changing the header file.

So it must be something that has to do with the Visual Studio installation. My code will compile fine on other machines (well, at least one other machine). So I am also not sure I have to make the change again when I install Visual Studio again.

I agree it is a really bad idea, but after searching for the solution for hours, one has to do something. After all, I had a simulator to build (see www.gpsim.eu)

This topic is closed to new replies.

Advertisement