|
-
June 30th, 1999, 06:44 AM
#1
Terminating Process
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!
-
June 30th, 1999, 07:08 AM
#2
Re: Terminating Process
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
-
June 30th, 1999, 09:09 AM
#3
Re: Terminating Process
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
-
June 30th, 1999, 02:47 PM
#4
Re: Terminating Process
Thanks -- it worked as described. Sometimes thing are just too simple.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|