Original Post
I''ve been having this same problem for awhile and everything I''ve tried hasn''t been able to fix it, so I''m hoping I''ll get some helpful tips here.
(Using MSVC++ 6 Intro.. )
Let''s say I have a project named "game". That project has in it a source file "gamemain.cpp" which contains (for right now) a window which draws a bitmap with all the works. In it''s includes, amongst other things gamemain has
#include "ddraw.h"
Thus, in the project''s header files folder is ddraw.h. When I try to compile the project, I get the following:
gamemain.cpp(63) : error C2065: ''LPDIRECTDRAWSURFACE4'' : undeclared identifier
gamemain.cpp(63) : error C2146: syntax error : missing '')'' before identifier ''lpdds''
gamemain.cpp(63) : error C2059: syntax error : '')''
gamemain.cpp(83) : error C2146: syntax error : missing '';'' before identifier ''lpdd4''
gamemain.cpp(83) : error C2501: ''LPDIRECTDRAW4'' : missing storage-class or type specifiers
gamemain.cpp(83) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
Help me??
// chimaera