Help with the "Tricks..." console template
Hello everyone. I have recently completed Mr. LaMothe''s "Tricks..." I am trying to get started on my first game, but for some strange reason I cannot get even the "t3dconsole2" to compile. I included all the DirectX and the library files, but when I try to compile, I get the following errors:
Compiling...
t3dconsole2.cpp
c:\clone\clone\t3dlib3.h(64) : error C2065: ''DSBCAPS_CTRLDEFAULT'' : undeclared identifier
t3dlib2.cpp
c:\Clone\Clone\t3dlib2.cpp(83) : error C2065: ''DirectInputCreate'' : undeclared identifier
c:\Clone\Clone\t3dlib2.cpp(110) : error C2065: ''DIDEVTYPE_JOYSTICK'' : undeclared identifier
t3dlib3.cpp
c:\clone\clone\t3dlib3.h(64) : error C2065: ''DSBCAPS_CTRLDEFAULT'' : undeclared identifier
I looked up error C2065, but I dont get it. Is there some "known" issue with the files that I don''t know about? For those of you who read the book and know what I am talking about, any help would be appreciated. Also, I am using the DX8 SDK, as opposed to DX6 as used in the book. Does this make a difference?
quote:
Also, I am using the DX8 SDK, as opposed to DX6 as used in the book. Does this make a difference?
Yes. Microsoft likes to break things between versions. It helps ensure people upgrade.
Try doing a search on these forums for ''DSBCAPS_CTRLDEFAULT'' and you should see what the other people did when they had this problem. I think that generally, rather than using a default, you end up having to specify the parameters explicitly.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement