Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Rufeooo

Compilation Errors: SDK Examples in MSVC++ 6.0

This topic is 6031 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I opened the .dsw files in MSVC but they won''t compile. None of the updated directX structures are recognized,( "LPDIRECTDRAWSURFACE7" and many of the other strucs from newer verions). I am running DX 8.0, I''m unaware of why I should be having difficulty with this... Anyone have an idea what might cause this? ~Alan

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
quote:
Original post by Rufeooo
LPDIRECTDRAWSURFACE7... I am running DX 8.0

Which headers? Did you upgrade to the 8.0 SDK as well, or only the runtimes?

If you upgraded the SDK, DirectDraw has been subsumed into Direct3D. You can still obtain DX7-specific interfaces, however, by explicitly defining which version of the SDK to work with:
#define D3DSDK_VERSION 0x0700 

or something like that. You should then be able to query for a DirectDraw interface as usual.

It''s in the docs - read them.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
It''s in the docs - read them.

The documentation is HUUUUGE. Are there certain regions which contain little goldmines of information that i should know? Or should i devote a month to reading it all? At first glance I thought the documentation was written by microsoft''s marketing team, not the programmers.
~Alan

Share this post


Link to post
Share on other sites
What errors are you getting? compiler? linker? runtime? Paste the sepcific errors so we can give you an exact answer.

---
Make it work.
Make it right.
Make it fast.

Share this post


Link to post
Share on other sites
Just add the lib dxguid.lib to your project, it should permit you to compile DX7 code with the dx8 SDK

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!