martix
- 167
- 5
I need to make a certain client program uncloseable(the best option). Or have it start itself every time someone closes it.
Any help?
Any help?
The discussion revolves around the feasibility of preventing a program from being closed in a Windows domain environment. Participants explore various methods to achieve this, including modifying GUI elements, using higher permissions, and implementing hooks or callbacks. The conversation touches on both theoretical and practical aspects of program behavior in operating systems.
Participants express a mix of agreement and disagreement regarding the methods discussed. While some acknowledge the technical possibilities, others caution against the ethical implications and practical challenges of making a program uncloseable.
Participants highlight limitations such as the potential for users to terminate processes through task management tools, the need for elevated permissions, and the implications of using techniques associated with rootkits. There is also uncertainty about the persistence of permission settings across system restarts.
This discussion may be of interest to software developers, system administrators, and IT professionals dealing with application management and user permissions in Windows environments.
symbolipoint said:Your objective is a very bad idea.
I guess my opinion is that anyone capable of writing an operational hook isn't going to need to ask. It is simply a non trivial task to write one that doesn't blue screen you.jim mcnamara said:A lot of this stuff is the stuff of rootkits. So most of first think very unkindly of this whole deal. I'm one of 'em.
martix said:I need to make a certain client program uncloseable(the best option). Or have it start itself every time someone closes it.
Any help?
switch (msg)
{
case WM_QUIT: return 0;
(...)
Look can you be a more clear!Borek said:At least under Windows something like
Code:switch (msg) { case WM_QUIT: return 0; (...)
will disable close button. It doesn't mean program can't be closed, but it can become PITA :)