Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return data from DCOM server
Message
 
À
24/07/2000 09:17:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00396083
Message ID:
00396115
Vues:
13
>Do you have VFP patched to at least service pack 3 and using the latest version of ADO?
>
>Is this a client side recordset?
>

Yes, VFP 6.0 SP 3, ADO version 2.5, RS is client side.

Jiri

>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform