> 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 ?

Use CreateToolHelp32Snapshot, Process32First and Process32Next (unit 
TLHelp32) to iterate thru the process list and find the processes you are 
looking for.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


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

Reply via email to