Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classfactory error
Message
From
11/11/2005 11:44:59
 
 
To
11/11/2005 11:29:43
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01067691
Message ID:
01067706
Views:
15
Have you registered your dll?

From the cmd line enter

regsvr32 c:\DirectoryThatContainsTheDLL\myserver

>I've created a multi threaded dll. I can create the object if I call from the same directory that I'm working in:
>cd c:\DirectoryThatContainsTheDLL
>o = create('myserver.myclass')
>
>that works fine. But, if I say :
>cd c:\temp
>o = create('myserver.myclass')
>
>this generates the following error...
>
>OLE error code 0x80040111: ClassFactory cannot supply requested class.
>
>Does anyone know what I'm doing wrong???
>Thanks,
>Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform