Advertisement

undeclared identifier

Started by August 17, 2001 01:47 PM
1 comment, last by GOD-CannoN 23 years, 6 months ago
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.
He''s a bad motha - Shut yo mouth.
Advertisement
In Directx 7.0 they have removed some options such as DSBCAPS_CTRLDEFAULT so that people will have to set thier flags manually and only setup the things they want to.

Minerjr

This topic is closed to new replies.

Advertisement