Jump to content
  • Advertisement

Archived

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

PC_Gilligan

<ddraw.h> question asked for the millionth time

This topic is 5370 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
Advertisement
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
Thank you. I know that question has been asked millions of times but somehow I couldn''t get it to work until now. It was including the DirectX lib and included files.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!