Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't call a prg from inside an exe
Message
From
13/09/1999 11:44:12
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00262029
Message ID:
00264027
Views:
22
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform