>I have the same problem. Basically the only solution
>we were able to come up with was to run the DOS programs
>thru PIF files and use a Delphi Menu program to call each
>PIF file. The Delphi program keeps each DOS program from
>running more than 1 time.
You are using a server approach. We don't have to use Delphi
to produce the server. FPD can do the trick (or even a simple
C program), using text files to pass paramters (in your case,
the PIF).
Every time the FoxPro program (each with a unique PID) is fired
or exited, it dumps a text file to the server. The server just
register and un-register the calls. But this server must be
reliable so that it can detect the crashes.
Regards,
Mr. Man-wai Chang