Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retains external exe in memory
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01132677
Message ID:
01132826
Views:
16
>>>>If programmed and called properly, the external application should not stay in the memore after it finishes. How the event monitor runs external applications?
>>>
>>>External program executed using:
>>>Do someexternalprogram.exe
>>>
>>>The actual code reads the command line from a table and executes the line using macro substitution.
>>
>>You're executing it as VFP APP (internal, in the context of the calling application) not EXE (external). You don't need to build EXE in this case. APP will work the same.
>>VFP caches everything that's why it still in use after it finishes. You can try CLEAR PROGRAM but I'm not sure if it'll help.
>
>CLEAR PROGRAM worked. Thanks Sergey!

You're welcome.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform