gfweis
June 30th, 1999, 06:44 AM
I have a series of programs that allow the user to jump from one program to the next sharing certain information. Question - After the new process in running, how do I terminate the original process? Thanks for any help!
bimmer boy
June 30th, 1999, 07:08 AM
you can't terminate a process from outside of the process, but since, as you say, the processes are sharing information, have the new process set a flag that the old process reads. once the old process picks up on this flag, have it use TerminateProcess (i think that's the function)
miked
Serge Gagnon
June 30th, 1999, 09:09 AM
You can write the data that you want to share with the other app in a file on the hard drive
and close your first app with exit() I think, you can find this info in the Visual C++ online help.
Serge Gagnon
gfweis
June 30th, 1999, 02:47 PM
Thanks -- it worked as described. Sometimes thing are just too simple.