Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: Ellen Solomon
  Where is Ellen Solomon?
 Bet Shemesh
 Israel
 Ellen Solomon
 Tags
Subject: RE: sharing cursor between dll's
Thread ID: 268718 Message ID: 268720 # Views: 43 # Ratings: 1
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, July 14, 2010 9:12:07 AM         
   


> Hi everyone!
>
> I have a program, some of which is divided into several dll's. One dll creates some cursors, but then needs to ask another dll for some analysis on those cursors.
>
> [In the past I had difficulty with one dll not having access to the other's workspace (maybe it's called a session) - I had to close the table, and then let the other dll open it with its own alias.]
>
> Any suggestions on how 2 VFP dll's can share the same cursors?
>
> Thanks,
> Ellen

You can convert the cursor to an xml with cursortoxml function and pass that to the other dll. that dll can then reconvert it to a cursor with xmltocursor.

Regards
Tushar

ENTIRE THREAD

sharing cursor between dll's Posted by Ellen Solomon @ 7/14/2010 9:07:10 AM
RE: sharing cursor between dll's Posted by Bhushan Sahni @ 7/14/2010 9:09:49 AM
RE: sharing cursor between dll's Posted by tushar @ 7/14/2010 9:12:07 AM
RE: sharing cursor between dll's Posted by ho me @ 7/14/2010 5:42:28 PM