Hi Herbert,
search for "GetCurrentProcess" in Google. It's in Kernel32.dll
and returns a handle to the process.
If you know that there is only one Squeak running you can
also use the FindWindow() API to search for a window with the
given title/window class.
Bye
Torsten
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen:
http://www.gmx.net/de/go/multimessenger