c++ - watchdog in vc++ application -


i have written simple vc++ background application. trying watchdog service monitor if application running or not. if application crashed service should start application

for creating setup through windows installer using app.exe , app.dll. possible create watchdog - service in exe ?

unfortunately have no idea of how write such program, have example code demonstrate technique please?

if how make default exe , watchdog exe single application install ?

your best route create separate service act watchdog. technically, it's possible have service , "real application" in same executable. can differentiate between 2 depending on how exe has been started, make maintenance quite difficult.

this article might of interest.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -