Re: How can I go back suspend AP?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Paul G. Tobey [eMVP] (ptobey)
Date: 08/20/04


Date: Fri, 20 Aug 2004 09:23:33 -0700

What does "suspend" mean? You could create a scheme using PostMessage for
application (don't use AP as an abbreviation for application; the
capitalization makes us think you're talking about something else), b to
notify application a to do whatever "suspend" means. I suppose, if you
don't want a to continue until b exits, a could then call
WaitForSingleObject() on the process handle returned during step 2. When
the Wait returns, b has exited.

Paul T.

"Chung" <Chung@discussions.microsoft.com> wrote in message
news:E33886DA-C14D-4E9B-B23E-491EC1DBD3A1@microsoft.com...
> Dear Sir:
> I want to execute the following flow:
>
> 1. Execute AP "a",
> 2. In AP "a", execute AP"b",
> 3. Suspend AP "a",
> 4. Close AP "b",
> 5. Continue AP "a".
>
> I use "CreateProcess" to make flow 1-4,
> but I do not know how can I go back my suspend AP from other one...
> How can I solve this issue?
> Thank you ~~~