Archived

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

Rufeooo

Compilation Errors: SDK Examples in MSVC++ 6.0

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
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