Jump to content
  • Advertisement
Sign in to follow this  
Dunge

DirectX 7 on Vista

This topic is 3539 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'm trying to run one of my very old Visual Basic 6/DirectDraw7 game on my Vista x64 operating system and get the error message "ActiveX component can't create object". I tried to re-install VB6, same error. When trying to run it via the source in VB6 it tells me "DirectX 7 for Visual Basic Type Library" is missing (dx7vb.dll). I have DirectX SDK latest version. I tried to install DirectX 9.0c redistribuables but it does nothing and say installation was successful. I tried to manually copy dx7vb.dll I got from an internet site to my windows\system32 directory and it still gives me the same error message at Dx.DirectDrawCreate(""). Any one have other ideas?

Share this post


Link to post
Share on other sites
Advertisement
The latest SDK no longer includes DX7 or DX8 components. Since this DLL is a Type Library, you'll also need to register it on your system. You can use Regsvr32 to do this.

There might be additional steps required that were performed by the old DX7 redistributables, but I honestly wouldn't know since that predates my own usage of DX.

Share this post


Link to post
Share on other sites
When I try to run "regsvr32 dx7vb.dll" is say I have the wrong dll for my version of Windows (x86/x64). I tried to search for a 64bit version of dx7vb.dll but can't find any.

edit: Copied the file to SysWOW64 instead of System32 and ran "regsvr32 C:\windows\sysWOW64\dx7vb.dll" and it worked.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!