DirectX 5/6/7 compatibility

Started by
3 comments, last by afastrunner 24 years, 3 months ago
I am planning on buying a book on DirectX and I have seen Windows programming for dummies is highly rates... However it talks about DirectX 5. I was wondering how close 5 is to 7 and if 7 is fully backwards compatible with 5/6 etc. Afastrunner AKA Camelboy Edited by - afastrunner on 1/13/00 10:07:39 AM
AfastrunnerAKA Camelboy
Advertisement
yes, DX7 is fully backwards compatible with earlier version of DX. in fact, you can use ANY prior DX version with the DX7 libs and headers.

to be honest, in the basic parts of the API, like DDraw,DInput, and DSound, the differences between DX5 and DX7 are rather few and far between. the major differences come in with D3D.

Get off my lawn!

normally you wouldn''t be honest?
There is one difference which i found gave problems when using the BOB engine from windows game programming for dummies engine it seems in dx 7 they have taken out the compatiblity sound flag, so you get errors if you try using that engine without taking out the compatibility flag, its only small but it gave me some problems... later
"I have realised that maths can explain everything. How it can is unimportant, I want to know why." -Me
Get Tricks of the Windows Game Programming Gurus instead. It covers the same material, and more, and it''s written for DX6, so it''s more up to date.

This topic is closed to new replies.

Advertisement