Archived

This topic is now archived and is closed to further replies.

LPDirectDraw4

This topic is 6542 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

I don''t understand it, when I use this(the original directdraw object):  LPDIRECTDRAW lpdd;  My applications work fine. But when I use the fourth rendition like this:  LPDIRECTDRAW4 lpdd4;  I get an error that says that it is undeclared/undefined. What is wrong? What can I do?

Share on other sites
What development program are you using? (eg. Visual C, Visual C++, Borland, Metrowerks Codewarrior)

Share on other sites
If you''re using VC++ you have probably not moved the included path for DXSDK to the first line in the options. Because of that the compiler find the older version of DXSDK that came with VC++ first and ignores the one you have installed later.

Share on other sites
I am using VC++ 6.0. Anyway, How would I do this? What directory should I put the SDK in?

Share on other sites
Sounds like a good explanation to ur problem
U can set the include paths under tools/options/directories... simply use the lil'' arrow thingies to move the include path to the top of the list...