Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return data from DCOM server
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Return data from DCOM server
Divers
Thread ID:
00396083
Message ID:
00396083
Vues:
40
Hi all,

I'am not succesful with getting data from remote COM server.
For example:

I have server MyServer with class - MyClass:

DEFINE CLASS MyClass AS CUSTOM

FUNCTION GetData

oRS = CREATEOBJECT("ADODB.RECORDSET")
...
* fill object oRS ( FOXUTIL.CursorTORS() or something else)
...

RETURN oRS
ENDFUNC

ENDDEFINE

On client:
oServer = CREATEOBJECT("MyServer.MyClass")
oRs = oServer.GetData()

If I this tested with in-process server (DLL), it's work perfect.
But when I recompiled the same as out-of-process server (EXE), it failed (OLE error: "Not implemented").

What are the way for getting data from DCOM servers?

TIA

Jiri
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform