Monday, May 24, 2010

Need help with dev c++ compiler error, attempting to use directx?

I am having problems compiling this program. It is probably too long to be posting here, although it's really not long at all. It is the program for the tutorial located here http://msdn2.microsoft.com/en-us/library...





When I try to compile, it says 31 errors, but most if not all appear to be warnings (idk if warnings prevent compilation). They are:





'pragma once' is obselete in strsafe.h





'com_interface' only supported with


-fvtable-thunks in unknwn.h





and the rest say (theres a lot of em):


'com_interface' attribute directive ignored 'com_interface' only supported with -fvtable-thunks





Thanks for your time. I really do appreciate being able to ask questions here cuz i get lost a lot.

Need help with dev c++ compiler error, attempting to use directx?
Just from first glance, it seems like you have a header declaration problem. Are you sure your INCLUDE path is pointing the the correct version of the headers you need?





Most warnings should not prevent a compile, but they often indicate problems that will cause runtime errors, so they really should be fixed.


No comments:

Post a Comment