Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL Question
Message
From
09/06/1999 14:04:03
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00227742
Message ID:
00228034
Views:
15
>If I add a method to a DLL to open a table and
>return a value, the table is closed automatically
>when I come back out of the DLL, even though the
>DLL was instantiated in the same datasession.
>
>If I open the table before I go into the DLL and
>pass in the alias, I get an 'alias not found' OLE
>error from the dll.
>
>So why is the DLL closing the table or not seeing
>it at all? Whats the solution here?

Kevin,

By DLL do you mean a true DLL, or do you mean a VFOX automation server ??? I'm going to answer under the belief that you are talking about an automation server created in VFox.

What do you mean by "come back out of the DLL", and "go into the DLL" ???

If the DLL is based on a form, it may have a "private data session" This will cause both of the problems you are having. Thus, check the data session of your calling form as well.

Regards,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Previous
Reply
Map
View

Click here to load this message in the networking platform