Archived

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

Woody FX

DirectX SDK 7 : Where could i get it!!!

Recommended Posts

I would like to get it and use it instead of SDK 8 because trying to compile code writen for 7 and i am getting errors related to not having exactly installed!! Thanks Brian B_Doyle1@yahoo.com_No_Spam

Share this post


Link to post
Share on other sites

You can use Direct X 8 for Direct X 7 apps.

Just type:

#define DIRECTDRAW_VERSION 0x0700

Before you include the ddraw.h

The header checks for this define so it can setup the version you want. If you have already done this, and it still doen''t work, then post some of the errors your getting. We can check it out from there.

Guy

Share this post


Link to post
Share on other sites
Go to the place where you downloaded v8(Microsoft) and go to the DirectX archives. This will have version 7.

To use version 7 with the verison 8 SDK, all you need to do is define it like this:

#define DIRECTDRAW_VERSION 0x0700
#include <ddraw.h>

same for input

#define DIRECTINPUT_VERSION 0x0700
#include <dinput.h>

Just make sure the definition occurs before the header and is in each file that uses DirectX components.

---
Make it work.
Make it fast.

"Commmmpuuuuterrrr.." --Scotty Star Trek IV:The Voyage Home

Share this post


Link to post
Share on other sites