C++ Callback process is dea
-
Hi all! I want to build a program to manage other processes. The program is responsible for any process that suddenly stops and the program will call back that process. I am wondering how to use CreateEvent() to create a global event variable to manage it. I hope you give me advice and methods to solve that problem. Thank you!
-
Hi all! I want to build a program to manage other processes. The program is responsible for any process that suddenly stops and the program will call back that process. I am wondering how to use CreateEvent() to create a global event variable to manage it. I hope you give me advice and methods to solve that problem. Thank you!
See an example in [Kernel object namespaces - Windows applications | Microsoft Docs](https://docs.microsoft.com/en-us/windows/desktop/TermServ/kernel-object-namespaces) and [Using Event Objects - Windows applications | Microsoft Docs](https://docs.microsoft.com/en-us/windows/desktop/Sync/using-event-objects) And I guess the program you are going to develop should be a service.
-
See an example in [Kernel object namespaces - Windows applications | Microsoft Docs](https://docs.microsoft.com/en-us/windows/desktop/TermServ/kernel-object-namespaces) and [Using Event Objects - Windows applications | Microsoft Docs](https://docs.microsoft.com/en-us/windows/desktop/Sync/using-event-objects) And I guess the program you are going to develop should be a service.
It is true that the program I will develop should be a service. Do you have experience with this issue please share with me. thank you very much!
-
It is true that the program I will develop should be a service. Do you have experience with this issue please share with me. thank you very much!
Here is but one of many examples.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
It is true that the program I will develop should be a service. Do you have experience with this issue please share with me. thank you very much!
Well, it was more than six years back... I used the [NSSM - the Non-Sucking Service Manager](https://nssm.cc/description) The most important thing is you could used the original UI application to use with..., however, in "service" mode you must forbid all UI features.