Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot create object of MT DLL Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Cannot create object of MT DLL Class
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01001310
Message ID:
01001310
Vues:
147
I have an OLE Class based on Session class in a PRG. All features of the class work fine at VFP level when I test it with CreateObject from the Command Window. After building the DLL, I moved it to a test dir on the same machine and registered the DLL using RegSvr32 from the DOS command prompt. However, the object fails to be created when I use MyDllName.MyClassName with CreateObject from the Command Window, and I get an error message "OLE error code ox80020009: Exception occured" and the AERROR doesn't give more detail either. So I checked DCOMCNFG but couldn't find the entry at all. On the other hand, I was able to locate the entry in the registry list by using RegEdit.exe.

Does anybody have any idea about what might be going wrong?

TIA
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform