Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling VFP 6.0 COM Object.
Message
From
21/06/2000 13:08:26
 
 
To
21/06/2000 13:06:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00382749
Message ID:
00382791
Views:
15
>>I have created a VFP 6.0 multi-instance DLL. I have registered it on a PC running NT 4.0. I can edit the register and see the entry for it. When I try to instanciate it, I get 'OLE error code 0x80040154: Class not registered.
>>
>>ocheck = CREATEOBJECTex([{BFB76C63-3C79-11D4-8A54-006008161DEB}],[SERVICE4])
>>
>>AND /OR
>>
>>ocheck = CREATEOBJECTex([checkcom.writecheck],[SERVICE4])
>>
>>
>>is the code I'm using. I opened the registery file and cut and paste the CLSID.
>>
>>Any Ideas?
>
>Use CreateObject instead. CreateObjectEx is used for remoting the object via DCOM.

Thank you, I realized it when I replied to James. I'm being dense today.
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform