i have written create process now i want to terminate process but it is not terminated
-
In my application i have written code for creating process for showing new exe now when i terminated my application my application gets terminated but my pdf remains open it is not terminated anyone tell me how to terminate that process
-
In my application i have written code for creating process for showing new exe now when i terminated my application my application gets terminated but my pdf remains open it is not terminated anyone tell me how to terminate that process
You can use TerminateProcess[^] API. :)
Nuri Ismail
-
You can use TerminateProcess[^] API. :)
Nuri Ismail
TerminateProcess
may be only the last resource. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
In my application i have written code for creating process for showing new exe now when i terminated my application my application gets terminated but my pdf remains open it is not terminated anyone tell me how to terminate that process
Send
WM_CLOSE
to the application top window, see [^]. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
TerminateProcess
may be only the last resource. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]CPallini wrote:
TerminateProcess may be only the last resource.
Yes, you are right! :thumbsup: :) When I saw the terminate word in the OP's post
TerminateProcess()
appeared first in my mind. :) I should tell the OP that first he could try withWM_CLOSE
. :)Regards, Nuri Ismail