Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot compile - program in use
Message
 
 
To
14/01/2003 16:35:54
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00739352
Message ID:
01077531
Views:
48
Jerry,

Have you been able to work out against this problem? Here is our scenario:
the Batch_Service application runs external program from it Progs directory. Right before running the program we issue:

SET PROCEDURE TO myProgram

then after the process is done we do

SET PROCEDURE TO

And we found that we can not copy a new version of FXP to that folder until we shut down the Batch Service process. We tried to include CLEAR PROGRAM, but it didn't help. So, is there a way to release FXP from memory once the process was run or we need to try compiling a program in run-time (my colleague had objections to this idea, I don't recall the exact reasoning).

Thanks in advance.

>No, just a PRG. This .PRG in question does use some low level file functions but it's the .FXP that isn't released. The files that the .PRG access with FPUT(), etc... always seem to be released.
>
>The problem is it only happens 1 out of every 5 or so times that I need to re-compile the .PRG. So I really can't reproduce it.
>
>Thanks,
>
>Jerry
>
>
>>>No, the VFP Program menu does NOT show any program running, and in the command window I do CLEAR ALL, CLEAR PROGAM, CLEAR MEMORY, RELEASE ALL, CLEAR WINDOWS, CLOSE ALL and other commands.
>>
>>This wouldn't be a COM object would it?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform