Re: ProcessId vs Handle

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.
>
>


.



Relevant Pages

  • Re: Themes & Colors
    ... The whole idea of Windows is to provide a consistent color ... If you change the color scheme, you change ALL applications. ... If you want to change the way your app looks color-wise, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Honestly Curious
    ... This is not a real-world problem, but I give you points for being creative enough to try and dream up an excuse for my moving an app *might* be a bad thing somehow. ... The registry however is the method Microsoft not only recommends for applications to use, but they require it for vendors to get the Windows logo on their packaging and marketing material. ...
    (comp.sys.mac.advocacy)
  • Re: user and group troubles
    ... change on the applications installation directory. ... to trace execution failure and discover where the app is throwing ... Microsoft MVP (Windows Server System: ... > giving the user local Admin rights on the said workstation. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Make a Windows Service start a windows program.
    ... never be implemented as Windows Services, they should be normal applications ... that get started at logon (search for Autorun in windows help). ... Only the UI portion of the app depends on an interactive logon. ... When the service instantiates the Project object from the class in the UI app, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Make a Windows Service start a windows program.
    ... Sounds to me like a normal application running with a notify icon rather ... start-up, Applications that depend on interactive logon session, should ... that get started at logon (search for Autorun in windows help). ... Only the UI portion of the app depends on an interactive logon. ...
    (microsoft.public.dotnet.languages.csharp)