A
A Marlow
Hello,
I am new to this game so please bear with me. I have just written a simple
application as a service using Visual Studio and managed C++. I wish the
process to run in the background and to not use a GUI **ever**. It just
runs. And if it fails for ANY reason then it is simply to be restarted. I
need some help with this please.
I have already found about _CrtSetReportMode and how I need to call it to
suppress the popups I would otherwise get on application crash. But I am
not sure how to make it so that the application is restarted. If it
crashes the restart should be immediate. Also, if possible I would like it
logged in the event log. Please, how is it done?
Regards,
Andrew Marlow
I am new to this game so please bear with me. I have just written a simple
application as a service using Visual Studio and managed C++. I wish the
process to run in the background and to not use a GUI **ever**. It just
runs. And if it fails for ANY reason then it is simply to be restarted. I
need some help with this please.
I have already found about _CrtSetReportMode and how I need to call it to
suppress the popups I would otherwise get on application crash. But I am
not sure how to make it so that the application is restarted. If it
crashes the restart should be immediate. Also, if possible I would like it
logged in the event log. Please, how is it done?
Regards,
Andrew Marlow