Re: ProcessId vs Handle
- From: "David Sampson" <sampsonNoSpam@xxxxxxxxxxxxxx>
- Date: Sun, 19 Jun 2005 06:42:28 -0500
I don't know much about the app. It's name is CMMapiAgent.exe. It is used
(by another major application) to send emails under given situations. It
appears to be a console app. By looking inside the exe file I can see a
reference to MFC42.DLL, MSVCRT.dll, KERNEL32.dll and USER32.dll. It,
apparently, uses the "CreateMailslotA" function.
The problem is, when this thing gets hung (what ever that means) and it
stops sending emails ... my client wants to find a way to be prompted when
this happens.
I am just shooting in the dark, trying to figure out a way to accomplish
this.. so I appreciate all of our comments.
David
"Sam Hobbs" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uD2TeQDdFHA.1040@xxxxxxxxxxxxxxxxxxxxxxx
> "David Sampson" <sampsonNoSpam@xxxxxxxxxxxxxx> wrote in message
> news:eWx4446cFHA.2128@xxxxxxxxxxxxxxxxxxxxxxx
>>
>> I need to be able to pick some Process (regardless of who wrote it) and
>> monitor it's life time. The only thing that seems to be consistant, in
>> terms of grabbing ahold of the Process is via the ProcessId.
>
>
> Most processes have windows. If you need to develop a generalized
> solution, then you need to use the windows created by the processes that
> you monitor. If you need to also support applications without windows,
> then you can add that as an exceptional condition.
>
> If you need to develop a solution for a specific application, then you
> need more information specific to that application.
>
> It would help to know what type of applicaiton it is. If it is a service,
> then it would definitely help to know that. There are very few
> applications that are not services that don't have windows. Is it a
> Console application? Usually applications that are not services that don't
> have windows are Console applications.
>
>
.
- Follow-Ups:
- Re: ProcessId vs Handle
- From: Karl E. Peterson
- Re: ProcessId vs Handle
- From: Sam Hobbs
- Re: ProcessId vs Handle
- From: Sam Hobbs
- Re: ProcessId vs Handle
- From: Sam Hobbs
- Re: ProcessId vs Handle
- References:
- ProcessId vs Handle
- From: David Sampson
- Re: ProcessId vs Handle
- From: Karl E. Peterson
- Re: ProcessId vs Handle
- From: Sam Hobbs
- Re: ProcessId vs Handle
- From: David Sampson
- Re: ProcessId vs Handle
- From: Sam Hobbs
- ProcessId vs Handle
- Prev by Date: Re: ProcessId vs Handle
- Next by Date: Bring window to front
- Previous by thread: Re: ProcessId vs Handle
- Next by thread: Re: ProcessId vs Handle
- Index(es):
Relevant Pages
|