Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedding lookup tables on a DLL
Message
From
02/01/2013 23:14:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Embedding lookup tables on a DLL
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01561178
Message ID:
01561178
Views:
96
I have build a DLL in VFP 9 including some lookup tables and one dummy OLE public class in order to avoid this error.

The path is defined in the main.prg.

In a procedure prg I put this code to open a DBF


PROCEDURE USE3
PARAMETERS MDBF
IF NOT USED (MDBF)
USE (MDBF) IN 0
ENDIF

SELECT (MDBF)



In the calling code I put

SET PROCEDURE readonlytables.dll ADDITIVE
=use3(mylookuptable)



This cause the error File does not exist.

What I´m doing wrong or I must add ?


Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform