Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling VFP 6.0 COM Object.
Message
De
21/06/2000 13:08:26
 
 
À
21/06/2000 13:06:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00382749
Message ID:
00382791
Vues:
14
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform