I need to launch a small VFP 6.0 exe from within my main VFP exe to run as a sperate running windows exe. That part is simple and I have done it.
The hard part is when the main app shuts down I would like to be able to have the 2nd exe shut down. I know I have the 2nd exe check every so often for whatever but if the user is shutting down his PC then it would probibly not check soon enough without eating up a lot of processing power constantly.
Is there a direct way? Or do I just check for a flag in a table every 10 seconds with the 2nd exe.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn