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