Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedding lookup tables on a DLL
Message
From
02/01/2013 23:27:43
 
 
To
02/01/2013 23:14:47
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01561178
Message ID:
01561181
Views:
73
I don't think you can SET PROC to a DLL. You can SET PROC to an FXP, PRG, etc.


>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform