Re: undestroyable process

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



What about referencing application's main thread (i.e.opening its
handle with OpenThread()) from some process that cannot be killed
without terminating a session (say, smss.exe)??? As long as reference
count is non-zero, the thread cannot get removed from the thread list.

If you do something like that to the process itself, you will get
Windows version of "zombie process" - even if all threads in it are
terminated, it is still on the process list.
I just wonder what happens if you do the same thing to the
thread.......

But this means that my programm has to start every time windows starts.
And there are possibilities to avoid a program from being executed at
startup (Regedit, service disabling).
I need a program (that will start for sure) to execute my
service/program, and then there will be no problem...

.



Relevant Pages

  • Re: undestroyable process
    ... DllMain can enumerate threads, ... without terminating a session ... But this means that my programm has to start every time windows starts. ... I need a program to execute my ...
    (microsoft.public.win32.programmer.kernel)
  • Re: undestroyable process
    ... without terminating a session ... count is non-zero, the thread cannot get removed from the thread list. ... But this means that my programm has to start every time windows starts. ... I need a program to execute my ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Visual Stuido .net question
    ... > You know when you have compliedm linked a program, then you execute it and it ... > programs run before terminating so you can actualy see what it did? ... the later cannot be done with standard C or standard C++. ... (even an empty text input ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Thread.Abort - is it safe?
    ... the Thread class has got a method named Abort which ... applies to the mentioned Win32 API, is also in place when using the ... thread has no chance to execute any user-mode code and its initial ... thread are not notified that the thread is terminating. ...
    (microsoft.public.dotnet.languages.csharp)
  • Thread.Abort - is it safe?
    ... the Thread class has got a method named Abort which ... applies to the mentioned Win32 API, is also in place when using the ... thread has no chance to execute any user-mode code and its initial ... thread are not notified that the thread is terminating. ...
    (microsoft.public.dotnet.languages.csharp)