Top
image credit: Adobe Stock

The Service and the Beast: Building a Windows Service that Does Not Fail to Restart

December 28, 2022

Via: InfoQ

When programming C++ for Windows, working with Windows Services is almost inevitable. Windows Services play a key role in the Microsoft Windows operating system, and support the creation and management of long-running processes that survive sleep, hibernate, restart and shutting down. But what happens if they don’t? The inability to restart a service after shutting down the PC when Fast Startup is checked can result in a program catastrophe. Service Isolation, introduced by Microsoft in Windows Vista, can cause this type of havoc – and here’s how you can solve it.

Read More on InfoQ