>an invalid handle. :) GetWindowThreadProcessID returns a handle to the >Process _ID_, NOT a handle to the process. Sorry, typo: I meant GetWindowThreadProcessID returns the Process ID itself of course. Cheers, Carl --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
- [DUG]: FWD: Closing Other Applications Patrick Dunford
- RE: [DUG]: FWD: Closing Other Applications Chris Crowe
- RE: [DUG]: FWD: Closing Other Applications Dennis Chuah
- RE: [DUG]: FWD: Closing Other Applications Patrick Dunford
- RE: [DUG]: FWD: Closing Other Applications Patrick Dunford
- RE: [DUG]: FWD: Closing Other Applications Carl Reynolds
- Carl Reynolds