Compiler error since xp: wingdiapi
I am using MSVC++ from a machine that ran win98 to a machine running xp. no im getting these errors in my code:
error C2144: syntax error : missing '';'' before type ''void''
error C2501: ''WINGDIAPI'' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found\
it points me to my gl.h file that was in working order on my last machine. i already included windows.h, and all the appropriate gl header files
put #include <windows.h> above the gl includes.
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement