I have a small VFP9 program that is supposed to run 24/7 on a workstation to import data from text files that are sporadically generated by another program. It uses a timer to check for these text files on a user-defined schedule. Occasionally, this program just disappears from the workstation without making the normal 'shutdown' entries into its log file. There are also no log entries indicating any error. The program will run for one day, or two, or three, then go away. The time-of-day doesn't seem to matter either. What's more, the other program (a non-VFP application), which is running on the same workstation, is still there.
I've made sure that the VFP DLL's are up-to-date and deleted all 'FoxUser.*' files. I've confirmed that the only QUIT or CANCEL command is the one in the shutdown procedure. (The program is normally shut down via a 'Quit' button which releases the form. The main program then closes tables and calls the shutdown procedure.)
By adding log entries and LIST MEMORY commands to various spots in the program, I've confirmed that it's always (at least so far) in the timer code when it goes away. However, that isn't surprising because that's where it spends virtually all of its time, checking the clock once per second and waiting for the next scheduled import time. I haven't yet seen an instance where the program disappears during the actual import process.
There's no reference to this event in either VFP9Rerr.LOG or the Windows logs, either.
Does anyone have any other suggestions on how to track down the gremlin that's causing this program to disappear without a trace?
I've made sure that the VFP DLL's are up-to-date and deleted all 'FoxUser.*' files. I've confirmed that the only QUIT or CANCEL command is the one in the shutdown procedure. (The program is normally shut down via a 'Quit' button which releases the form. The main program then closes tables and calls the shutdown procedure.)
By adding log entries and LIST MEMORY commands to various spots in the program, I've confirmed that it's always (at least so far) in the timer code when it goes away. However, that isn't surprising because that's where it spends virtually all of its time, checking the clock once per second and waiting for the next scheduled import time. I haven't yet seen an instance where the program disappears during the actual import process.
There's no reference to this event in either VFP9Rerr.LOG or the Windows logs, either.
Does anyone have any other suggestions on how to track down the gremlin that's causing this program to disappear without a trace?