how can I make a Windows service beep?

前端 未结 5 1725
栀梦
栀梦 2020-12-06 14:23

I\'ve got a service that acts as a watchdog for several apps/servers. There are no user sessions on this machine. I\'d like the watchdog to be capable of beeping on the

5条回答
  •  一生所求
    2020-12-06 15:10

    Beeping doesn't seem like a good idea - it might end up driving everyone mad.... I'd also agree about the "interact with desktop" option and you set this in the services parameters see A Windows Service without a template

提交回复
热议问题