Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a cursor from VFP COM server
Message
 
À
12/01/2000 08:56:25
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00316780
Message ID:
00317280
Vues:
17
Another way that's faster than all the others mentioned here (other than Ed's of passing a file pointer string) - wrap the cursor into a string. wwIPStuff's EncodeDBF and DecodeDBF do the encoding and decoding which is very fast unless the file is in the multi-megabyte range. All it does is grab a disk image into a string (with support for putting together both DBF and FPT files).

Once encoded the file is just a string that gets passed back and forth. Strings are much more efficient than COM object references passed around like ADO. Hence in general I think that XML and this mechanism are often better choices. ADO makes sense if you need to reconnect the data to the server after the fact.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform