Killing an app with task manager, log the killing process - Programmers Heaven

Howdy, Stranger!

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

Categories

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.