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
Title:
Cannot create object of MT DLL Class
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001310
Message ID:
01001310
Views:
148
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

Next
Reply
Map
View

Click here to load this message in the networking platform