Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Data from DLL
Message
From
31/01/2007 07:12:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
31/01/2007 05:22:30
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01190770
Message ID:
01190785
Views:
16
>I have written a DLL that accesses a VFP database and returns information based on those tables. If I include the database and tables in the project it works fine. However, because it is included in the project it does not have access to the active tables and therefore does not reflect changes to the data. What is the best way to address these tables from a DLL so that I can return data from the active tables?

Exclude:) Also qualify table locations. ie: instead of just saying:

use employee

do it like:

use ("c:\My Path\employee")

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform