Re: Restaring a process

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Jochen Kalmbach [MVP]" <nospam-Jochen.Kalmbach@xxxxxxxxx> wrote in message
news:%23Q812SbyFHA.736@xxxxxxxxxxxxxxxxxxxxxxx
> Hi Mike!
>
> > Anyone can point me a direction where I could
> > find how to restart a processs by its image name
> > (like in task manager) ?
>
> What do you mean by "restart"?
> => CreateProcess???
>
> What do you mean with "image name"?
> => GetModuleFileNameEx(hProcess, NULL, ...)
>

Thanks for your prompt reply !!

This is because we have an application that reads a config
file when it loads... we want to be able to make the app.
reconfigure itself by uploading a new config file and then
restart the running process of the app..

I'll look for your functions !

Mike


.



Relevant Pages

  • Re: Yet another problem I only get...phantom iTunes
    ... shut down the app. ... The one place where his story is fishy, to me, is the time frame. ... me that Application "x" has stopped the restart. ... "Cannot speak to other situations, not without details anyway, but the ...
    (comp.sys.mac.advocacy)
  • Re: Java at startup
    ... You also sent me something stating that "When you restart the app it ... I originally had this script run from the ... >> Dave Stewart ...
    (AIX-L)
  • Re: [OT] Computer Comment, Please?
    ... up all my processing power until the app and or computer crashes. ... and that XP restarted w/ System Restore ... 98 will sometimes auto restart as well. ... Conservatives are not necessarily stupid, ...
    (alt.guitar.bass)
  • Re: The "Restart" Apple menu option
    ... At first I thought you were going to whine about what app cancelled the ... Steve de Mena specifically stated 'restart'! ... embellish what was actually stated Snit? ...
    (comp.sys.mac.advocacy)
  • Re: The "Restart" Apple menu option
    ... At first I thought you were going to whine about what app cancelled the ... Steve de Mena specifically stated 'restart'! ... embellish what was actually stated Snit? ...
    (comp.sys.mac.advocacy)