Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't call a prg from inside an exe
Message
De
13/09/1999 11:44:12
 
 
À
08/09/1999 14:04:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00262029
Message ID:
00264027
Vues:
23
>>To benifit the user with the ability to do customized procedures on his data, I need to set up an add-on manager that will allow the user to register an external prg file and then run it from within the VFP. The problem is that VFP3's do command will not search anywhere except inside the exe. Is there a way to do this, or will all procedures have to be compiled into the exe?
>>
>
>It will search along the path established with SET PATH, but it must be compiled to a .FXP - there's no native compilation in VFP3's executable code. You can always give a full path name in the invocation of the command, just leave out the file extension and make sure its compiled ahead of time.
>
>The alternative to this is to incorporate something like CodeBLock into your existing app to interpret the code line by line at runtime, but its slow and has some limits on what cna be done.

Thanks Ed,

It was the compiled thing. Once I got the prg compiled, the system worked like a dream.

JD
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform