DirectX 7 & 8 confusion
Ok, I''m using Direct Draw 7, I''m trying to add sound to my game by using Direct Audio 8, but when I include dmusici.h it has all sorts of redeclaration problems with dxguid.lib...
Should I just start using Direct Sound 7 and Direct Music 7? Or is there a way around this?
Do what you do, and do it well.
quote: Original post by Zyroth
Ok, I''m using Direct Draw 7, I''m trying to add sound to my game by using Direct Audio 8, but when I include dmusici.h it has all sorts of redeclaration problems with dxguid.lib...
Should I just start using Direct Sound 7 and Direct Music 7? Or is there a way around this?
I think you should just program with all the DX8 stuff, not DX7. DX8 came out in 2000, why program for the previous century ?
Because I already know some direct draw, I also have a book on it. I don''t know any audio stuff so I thought that I would try to use 8.
Never mind I''ll just use 7 for now and try to update to everything to 8 later.
Never mind I''ll just use 7 for now and try to update to everything to 8 later.
September 17, 2002 11:10 AM
DirectX 8.0 has backwards compatibility with directX 7.0. In your case you should use the directx 8.0 API, and query the direct draw 7 interfaces. (Examples of how this is done are contained in the direct draw samples in direct x 8.0). This should resolve your dxguid problems.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement