Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObjectEX not
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
CreateObjectEX not
Divers
Thread ID:
00559579
Message ID:
00559579
Vues:
49
Hi all,

I created a VFP7 com component to query some SQL Server tables and return the result as an XML string using XMLTOCursor(). When the client and the component are on the same computer it works fine (really slick actually).

When I try to call over the network using CreateObjectEX() it doesn't work. I didn't register the component on the client computer so I'm using the class id instead of the progid. RPC locator service is running on both computers.
oSrvr = createobjectex( "{ my_guid_here }", "\\home" )
or
oSrvr = createobjectex( "{ my_guid_here }", "192.168.1.100" )
both give "OLE error code 0x80040154: Class not registered."

Can I actually call the component using the class id without registering it on the client?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform