Archived

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

<ddraw.h> question asked for the millionth time

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

I know people are getting tired of answering this question but all the forums I go to and all the website don''t give me a clear answer. Question: Why isn''t LPDIRECTDRAW7, LPDIRECTDRAWSURFACE7, and other Direct Draw function declared in my ddraw.h header file. I''m just getting started in Game Programming and I''ve already added: [kernel32.lib user32.lib ddraw.lib dxuid.lib gdi32.lib] into my Object/library Modules under Tools/Settings/Link Tab. For some reason VC++ isn''t recognizing (LPDIRECTDRAW7 g_pDD) as a valid defination. I''d apprectiate you help. Thank you. Knowledge the power that drives creativity.

Share this post


Link to post
Share on other sites
Assuming you already have the DirectX 7 (or above) SDK installed (you require that first):

http://www.gamedev.net/community/forums/topic.asp?topic_id=187159

http://www.gamedev.net/community/forums/topic.asp?topic_id=181162

http://www.gamedev.net/community/forums/topic.asp?topic_id=170881

http://www.gamedev.net/community/forums/topic.asp?topic_id=160564

...etc...


If you''re using MSVC5, then you might need to install some service packs (or better, upgrade) to get things

--
Simon O''Connor
3D Game Programmer &
Microsoft DirectX MVP

Share this post


Link to post
Share on other sites