Jump to content
  • Advertisement

Archived

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

Psybr

DirectX 8 SDK with DirectX 9 Runtime

This topic is 5656 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 recently reformatted my hard drive, and I updated Windows XP with the DirectX 9 runtime. I started itching to start programming again, so I installed Visual C++, and went looking for the DirectX SDK. Alas, I had not previously downloaded the SDK, so I had to download it. Since I have 56k, downloading that 230 MB of a file is gonna take a while. So while I was waiting, I found the DirectX 8 SDK, and during the installation I installed all components except the runtime. Now, having installed the DX9 runtime, and on top of that the DX8 SDK, no polygons are getting rendered! I ran the Direct3D8 sample apps, and none of them loaded! They all had some type of error. For example, the Dolphin sample app quits with "Could not load required media." Is this a problem, or was the SDK just never designed to work with later versions of DirectX installed on the system?

Share this post


Link to post
Share on other sites
Advertisement
The samples are looking for the regkey to tell them where the DXSDK media folder is. Not sure why it didn''t setup correctly for you. You could try reinstalling the SDK or use regedit.exe and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX SDK

then ensure there is a string value called "DX81SDK Samples Path" or "DX8SDK Samples Path" (depending what version of the SDK you have) and make sure it has the value of: "C:\DXSDK\samples"

You can also use VC to debug the samples and find out why they''re failing. If you put a breakpoint in dxutil.cpp''s DXUtil_GetSDKMediaPath() function, you''ll see where its failing.

Jason

Share this post


Link to post
Share on other sites
It should work fine, or else you wouldnt be able to play any games created with DX7 or 8 when you have the DX9 runtime installed. Try to reinstall the SDK, or check your registry as jasonsa suggested.

insert witty signature here

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!