Wim Sterns wrote:
> Suppose I started 2 times notepad.exe on my computer.
> How can I get the handle of those two applications
> (knowing only the exe name) without using findwindow
> to search for the main window caption ?

When you used CreateProcess or ShellExecuteEx to start the program, the
API function returned the handle to the process. Check MSDN for details.

Note that window handles and process handles are two completely different
things.

-- 
Rob


_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to