Skip to main content
gamedev.net
🔒 Locked

Argh! SDK Problems ...

Started by PumpkinPieman 8 replies 500+ views
Original Post
PumpkinPieman
PumpkinPieman
I recently bought "Programming role playing games using direct x", and it includes the DX 8.0 SDK. When it is properly installed, the sdk files scease to exist; the computer is currently running DX8.1. If I install DX 9 sdk''s will I have any problem getting through this book? Do the DX 9 sdk''s have any reference to previous versions or just ver 9? I''m only on the 6th chapter so forgive my puzzledness.
Morten
Morten

AFAIK, you should have no trouble compiling DX8 stuff with the DX9 SDK.

-Morten-
circlesoft
circlesoft
Yes, all versions of DirectX are backwards compatable. Otherwise, games made with previous versons would not work anymore.
chollida1
chollida1
Quick note, If you install the DX 9 SDK make sure you uninstall any previous version''s of Direct X or you''ll have troubles. They are NOT meant to co-exist on the same system.

Cheers
Chris
CheersChris
PumpkinPieman
PumpkinPieman
quote:
Original post by chollida1
Quick note, If you install the DX 9 SDK make sure you uninstall any previous version''s of Direct X or you''ll have troubles. They are NOT meant to co-exist on the same system.

Cheers
Chris
I''ll keep that in mind, thanks. Also, if I''m using the DX9 SDK and I''m working with DX8, where exactly can I find reference to DX8 procedures and functions?


DrunkenHyena
DrunkenHyena
It''s where the other SDK downloads are on MSDN.

http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp


Online docs:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dx81_c/directx_cpp/dx8.1_cpp_start.asp



Stay Casual,

Ken
Drunken Hyena
Stay Casual,KenDrunken Hyena</FON
GroZZleR
GroZZleR
Everything is referenced by number.

LPDIRECTDRAWSURFACE7 means its a long pointer to a direct draw surface, version 7 of the SDK.

LPDIRECTDRAWSURFACE3 would mean its a direct draw surface, version 3 of the SDK.

Etc.. etc..
DrunkenHyena
DrunkenHyena
quote:
Original post by GroZZleR
Everything is referenced by number.

LPDIRECTDRAWSURFACE7 means its a long pointer to a direct draw surface, version 7 of the SDK.

LPDIRECTDRAWSURFACE3 would mean its a direct draw surface, version 3 of the SDK.

Etc.. etc..


That''s not accurate. In DirectDraw7 you use DDSURFACEDESC2. However you''re fairly safe in DX8+ since they realized that their old method of numbering interfaces was confusing the heck out of everyone (they only incremented the numbers what that objects/interface changed, so a lot of helper structs were quite a few numbers behind).



Stay Casual,

Ken
Drunken Hyena
Stay Casual,KenDrunken Hyena</FON

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.