Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can we use a cursor in DLL
Message
From
14/04/2005 08:45:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01004487
Message ID:
01004577
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform