undeclared identifier
Im using the GPDUMB Game Engine from WIndows Game Programming for Dummies, but part 2 of it wont compile cuz it says the flag DSBCAPS_CTRLDEFAULT is an undeclared identifier and yes ive included EVERYTHING...
c:\mssdk\include\gpdumb2.h(53) : error C2065: ''DSBCAPS_CTRLDEFAULT'' : undeclared identifier
the problem???
do a "FindInFiles" for ''DSBCAPS_CTRLDEFAULT''. There is proabably a #define DSBCAPS_CTRLDEFAULT, in some header file. Then include that header file.
I wonder why it is that code from books never compiles. They pay editors lot of money to read the book to make sure everything is phrased well, but they can''t hire a 14 yr old kid at $5.50/hr to test out the CD.
I wonder why it is that code from books never compiles. They pay editors lot of money to read the book to make sure everything is phrased well, but they can''t hire a 14 yr old kid at $5.50/hr to test out the CD.
He''s a bad motha - Shut yo mouth.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement