Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can we use a cursor in DLL
Message
De
14/04/2005 08:45:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01004487
Message ID:
01004577
Vues:
28
Ravi,

>Can anybody have an idea to using cursors in the DLL.

In addition to Mike's suggestion, you might consider just using CURSORTOXML(), sending the XML string just created, and using XMLTOCURSOR() on the other end to put it back into a cursor.

If you do that, you could use the option on CURSORTOXML to create an embedded schema (describing the fields and their types/lengths) so the XMLTOCURSOR can create the cursor "just right" -- or you can CREATE CURSOR on the receiving end to set up the structure you want and then use the 8192 flag on XMLTOCURSOR() to specify that the data is to be appended to the empty, existing cursor you just created.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform