Will directx 9 sdk work with directx 7/8 code?

Started by
1 comment, last by SiCrane 18 years, 9 months ago
I was just wondering because the book I'm reading has code written in directc 7/8 and I thought it would be prudent to just install the latest sdk.
Advertisement
I'm pretty sure it does. I was doing some DirectX 5 code when using the DirectX 7 or 8 a few years back and it works fine. I'm fairly sure they've made it backwards compatible with the earlier versions.
Old DirectX code should mostly work with the latest SDK. Exceptions being if you try to mix old and new code (like trying to use a DirectX 9 Direct3D interface at the same time as using a DirectX 8 Direct3D interface, though using say the DirectX 8 DirectPlay at the same times as DirectX 9 Direct3D is fine) or code relying on bugs in previous versions.

This topic is closed to new replies.

Advertisement