Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Killing an app with task manager, log the killing process

Hi guys,

I want to log when someone kill any application to a log file or to a database.

According to me, if you kill something, all communication from that app to the server / pc / desktop is stopped.

Is that possible ?

And if it is, any routes which i can follow ?

Comments

  • rentorento Posts: 2Member
    : Hi guys,
    :
    : I want to log when someone kill any application to a log file or to
    : a database.
    :
    : According to me, if you kill something, all communication from that
    : app to the server / pc / desktop is stopped.
    :
    : Is that possible ?
    :
    : And if it is, any routes which i can follow ?
    :
    I don't know how to detect if program is killed by another process or power down. But, you can, when program startup, read the flag, if TRUE, do something, else write TRUE, and when program close, write FALSE.

Sign In or Register to comment.