Jump to content
  • Advertisement
Sign in to follow this  
jagguy

directX7

This topic is 4904 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

Advertisement
It is quite simple. Link libary dxguid.lib and ddraw.lib and include ddraw.h :)
Example:

#pragma comment(lib, "dxguid.lib")
#pragma comment(lib, "ddraw.lib")

#include <ddraw.h>
...


I hope I helped.

Share this post


Link to post
Share on other sites
can anyone point me in the right direction for a tutorial on directdraw with c++ (vc6++ is better)

I looked on the internet and it isnt easy to find just a simple set up explained.
there are plenty on with VB for directX

Share this post


Link to post
Share on other sites
i just found some good tutorials here.

if the paths in vc6++ are set to include directX SDK (includes, libs) then why do you need to include these files (as on tutorial given here> and manually link in librarires like ddraw.lib into your project

#include <dxutil.h>
#include <ddutil.h>

Share this post


Link to post
Share on other sites
Quote:
Original post by jagguy
i just found some good tutorials here.

if the paths in vc6++ are set to include directX SDK (includes, libs) then why do you need to include these files (as on tutorial given here> and manually link in librarires like ddraw.lib into your project

#include <dxutil.h>
#include <ddutil.h>

The paths just tell the compiler where to search for the things you give it. You would NOT want it to automatically include/link everything in your search path.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!