JDT
03-31-2001, 03:26 PM
I am looking for an API to unconditionaly shut down any program running by its handle or something like that.
I have tried all the SendMessage and PostMessage variations and they are not quit capable of shutting down AOL 100% of the time.
Is what I am doing is:
I have an icon in the task bar and when I double click it, AOL shuts down.
Why? Because AOL has a habit of just sitting there consuming my resources for unbelievable amounts of time while it decides if its going to let me turn it off.
I would like it to be like ctrl alt delete without any message displayed.
Even if smoke comes out the back of my computer, I want AOL to turn off when I say so! ;<)
Any Ideas?
JDT
I have tried all the SendMessage and PostMessage variations and they are not quit capable of shutting down AOL 100% of the time.
Is what I am doing is:
I have an icon in the task bar and when I double click it, AOL shuts down.
Why? Because AOL has a habit of just sitting there consuming my resources for unbelievable amounts of time while it decides if its going to let me turn it off.
I would like it to be like ctrl alt delete without any message displayed.
Even if smoke comes out the back of my computer, I want AOL to turn off when I say so! ;<)
Any Ideas?
JDT