BlueNexus
stupid errors compiling dx7 example
Do a search and make sure that you only have one copy of the headers... it's possible you might have an older version inside the VC include path.
Mason McCuskey
Spin Studios
www.spin-studios.com
The Cuttlefish Engine lets anyone develop great games for iPad, iPhone, Android, WP7, the web, and more!
I'm getting these errors when I try to compile the direct draw example (ddex1) that comes with directX 7 sdk. I'm using MS VC 6.0
C:\Program Files\Microsoft Visual Studio\projects\ddex1\ddex1.cpp(39) : error C2146: syntax error : missing ';' before identifier 'g_pDD'
C:\Program Files\Microsoft Visual Studio\projects\ddex1\ddex1.cpp(39) : error C2501: 'LPDIRECTDRAW7' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\projects\ddex1\ddex1.cpp(39) : fatal error C1004: unexpected end of file found
I already went to options and set the build directories to the Lib and Include directories. Anyone have any ideas as to what the problem might be?
------------------
good pitching can always stop good hitting and vice versa.