Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Aug : How to stop properly a process

www.cryer.info
Managed Newsgroup Archive

How to stop properly a process

Subject:How to stop properly a process
Posted by:"Frédéric SCHENCKEL" (f.schenck..@cab-technologies.fr)
Date:Thu, 04 Aug 2005 19:00:33 +0200

Hello,


How can I stop a process ?

The process is a console application.
I have the handle of this application (I've started it with createprocess).

I tried PostMessage(WM_QUIT) but the application doesn't care
The only thing who works at this time is TerminateProcess, the app
terminates but not properly.

Someone a tip ?

Thanks

Frédéric

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive