Sign in to follow this  
bah

Using LPDIRECTDRAW7 through Directx9.0c

Recommended Posts

Hi I've got an application, whose front-end was developed with DirectDraw, and, even though the compiled version runs fine, I can't successfully compile the code. Can you use the LPDIRECTDRAW7 (as well as others that are part of Directx7.0) interface through Directx9.0c? Perhaps, I am including the wrong headers or linking to the wrong libraries. BTW, I am including <ddraw.h>.

Share this post


Link to post
Share on other sites
Quote:
Original post by bah
Hi

I've got an application, whose front-end was developed with DirectDraw, and, even though the compiled version runs fine, I can't successfully compile the code. Can you use the LPDIRECTDRAW7 (as well as others that are part of Directx7.0) interface through Directx9.0c? Perhaps, I am including the wrong headers or linking to the wrong libraries. BTW, I am including <ddraw.h>.

Yes, you can.

1) What kind of errors do you get? Compiler or linker errors?
2) What SDK are you compiling against?
3) Which compiler are you using?

Share this post


Link to post
Share on other sites
Hi Coder

1. I get compiler errors, the likes of "undeclared identifier found" and all that that ensues.

2. The SDK is Directx9.0c. I think it's the summer update of 2004.

3. I am using Visual Studio 6.0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this