Archived

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

Compiling DX7 with DX8 SDK

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

Can anybody tell me if it is possible to compile DX7 code using the DX8 SDK. If so, it would help if you could tell me the additions I need to make to any DX7 Code. Thanks

Share this post


Link to post
Share on other sites
Of course it is, and no modifications are needed (well I haven''t needed to on my test apps). DX8 is backwardly compatible with all previous versions of DX.

Hope this helps.

Share this post


Link to post
Share on other sites
should be able to.

try putting

#define DIRECT3D_VERSION 0x0700

at the top of your code

incidently, no offence, but it took me two seconds to search through the directx 8.0 sdk help using "directx 7" to find that.

I''m not moaning or anything, but usually quicker to try a search in the help docs rather than posting and waiting for someone to reply.




"Bad Day... F**K it!" -Stephen Baldwin (Usual Suspects)

Share this post


Link to post
Share on other sites