Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Jul : Terminate Process returns The handle is invalid

www.cryer.info
Managed Newsgroup Archive

Terminate Process returns The handle is invalid

Subject:Terminate Process returns The handle is invalid
Posted by:"Bob" (b..@bob.com)
Date:Wed, 2 Jul 2008 11:46:54

We are trying to kill a process.
We have tried the Post Quit message method.
This failed.

The OS in Win 2003 Server Service Pack 1.

calling "TerminateProcess(ProcessID, 15000)"

returns in Get LAst error:

The handle is invalid!.

We know the ProcessID is correct.

We are quite lost.

What can we do

Kind Regards,

Robert.

Replies:

www.cryer.info
Managed Newsgroup Archive