3
Reply

COM object with CLSID {xxx} is either not valid or not registered

davidh1

davidh1

Nov 5 2003 4:15 PM
4.6k
Hello, I am using DirectX in 2D. For this I use the DirectX 7.0 DxVBLib. This is a reference added by going to Add Reference, COM Tab, and adding DirectX 7 for Visual Basic Type Library (or something like that). This has been working. It is used by many examples that were also working. Yesterday I added a button to my C#/.Net Windows Form and set the button image to an animated GIF. A little bit afterwards the whole visual studio hanged. Trying to figure out what was hanging I "debugged" it with a second visual studio session. After I killed the stuff, none of the programs using DxVBLib work. It gives the above error right in here: private DirectX7 DX = new DirectX7(); I've tryed re-installing Direct X 7, 8, and 9, reinstalling the DX9 SDK, runing regasm to register the dll, etc. Any ideas? Dave

Answers (3)