- #1
martix
- 169
- 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?
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 :)
There are a few ways to make a program uncloseable. One option is to use a programming language that has a built-in function for this purpose, such as Visual Basic or C#. Another option is to use a third-party tool or software that can prevent a program from being closed. You can also code your program to run in the background, making it invisible and uncloseable to the user.
There are a few reasons why you might want to make a program uncloseable. For example, if you are creating a kiosk or self-service station, you may want to prevent users from closing the program and accessing other applications. Additionally, if you are developing a critical system or application, making it uncloseable can prevent accidental shutdowns and ensure continuous operation.
Yes, there can be drawbacks to making a program uncloseable. For example, if a user needs to close the program for some reason, it can be frustrating and inconvenient for them if they are unable to do so. Additionally, if your program is not coded properly, it may cause system instability or crashes. It is important to carefully consider the purpose and potential consequences before making a program uncloseable.
It is possible for a determined user to force close an uncloseable program using various methods, such as using task manager or command prompt. However, making a program uncloseable makes it more difficult for a user to do so, and it may deter casual attempts to close the program.
This is a subjective question and can depend on the purpose and context of the program. In some cases, making a program uncloseable may be necessary for security or operational reasons. However, it is important to consider the user's experience and ensure that the program is not causing any harm or inconvenience. It is also essential to inform the user that the program is uncloseable and provide a way for them to exit the program if needed.