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
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01001310
Message ID:
01001319
Vues:
15
What's the code for the CREATEOBJECT and the Init method?


>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform