URGENT: terminate an open program (ex. QuickTime) when a button is clicked.
Posted on 2004-08-20
I have a program with several states. One is encoding and the other is resting.
WHen i click a button - 'Start Encode' a thread starts that encodes some input. It also fires up an instance of QuickTime in the same thread (WinExec used)
Now, when i click - "Stop Encode" it stops the encoding ..but.. QuickTime remains open.
Can someone tell me how to close an open program (something like an automated End Process in Task Manager)?
It would be great if i could receive and answer before Saturday night (Aug 20,2004).
Thank you all so much,