Francois,

That's exactly what I am doing now.
So I have the process handle.
But what I want is the windows handle...
Like Rob mentioned this are two different things.


Wim

--- Francois PIETTE <[EMAIL PROTECTED]>
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 ?
> 
> Use CreateToolHelp32Snapshot, Process32First and
> Process32Next (unit 
> TLHelp32) to iterate thru the process list and find
> the processes you are 
> looking for.
> 



                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to