Preventing Windows shut down

前端 未结 7 625
梦毁少年i
梦毁少年i 2021-01-18 09:14

To detect and prevent shutdown the computer I use very simple program. It has only one form and one private procedure like below:

TForm3 = class(TForm)
priva         


        
7条回答
  •  甜味超标
    2021-01-18 09:42

    ShutdownGuard is built with Delphi and it's open source, you can download it tweak it for your needs

提交回复
热议问题