Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedding lookup tables on a DLL
Message
De
02/01/2013 23:27:43
 
 
À
02/01/2013 23:14:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01561178
Message ID:
01561181
Vues:
72
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform