Advertisement

Can you use DX8.1 to write DX7 code?

Started by April 11, 2002 03:49 AM
3 comments, last by maccaroo 22 years, 7 months ago
I know that once you''ve installed DirectX 8 on your PC, it is backwards compatable for all programs needing previous versions. I understand that, but my question is: Can I use the DirectX 8 SDK to write and compile (etc) code that I get from DX7 tuts? I guess the main reason I''d want to do this would be to learn DirectDraw, although I might just say stuffit soon, and just learn D3D (sounds kinda daunting though). "I''ll be Bach" - Jan Sebastian Schwarzenegger
Yup, it's possible. You just need to define that you'll be using DX7. I can't remember that line just now, I'll try to find it!

EDIT: Haha, found it. This is a quote from my thread:
quote: put in these in your header files, before you include DirectX:
#define DIRECTDRAW_VERSION 0x0700

This will tell DirectX to use DX7. That way, you start at the basic and easier route. Then, when you mastered 2D, go to 3D or (as you said) DirectX Graphics.



[edited by - xjussix on April 11, 2002 5:07:11 AM]
- Just another sad bastard
Advertisement
Yes you can, but you should always learn new tech!!! but im gonna start learning directdraw soon anyway as its in TOTWGPG...

CEO Plunder Studios
[email=esheppard@gmail.com]esheppard@gmail.com[/email]
can directx be used interchangeably? like using direct draw 7 but using everything else directx8(sound,input,media,ect)
"can directx be used interchangeably? like using direct draw 7 but using everything else directx8(sound,input,media,ect)"

Yes, it can all be used interchangeably, you shouldn''t have any problems there.

This topic is closed to new replies.

Advertisement