Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot create object of MT DLL Class
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001310
Message ID:
01001319
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform