Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ho me
  Where is ho me?
 
 Philippines
 ho me
 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: 268793 # Views: 29 # Ratings: 0
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Wednesday, July 14, 2010 5:42:28 PM         
   


> 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

Hi,


Try getting the active data session id and then set to that data session when working to another dll.

Note: Not tried with DLL but tried with classes.


hth

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