Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a cursor from VFP COM server
Message
De
12/01/2000 15:52:10
 
 
À
12/01/2000 05:42:36
Juan Kh
Dataprop Technologies
Sungai Petani, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00316780
Message ID:
00317233
Vues:
13
>Hi,
>
>I am working on a simple VFP COM server. I would like to know how to return a VFP cursor to the VFP client app. It would be great if someone can show me the method.

The simple answer is you can't - VFP cursors do not creoss COM boundries. There are workarounds:

(1) Pass an ADO Recordset
(2) Pass the data as XML
(3) Save the cursor in a table in a common shred directory and pass the full path of the table back.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform