Hi there,

How can I get the HWND of a window from it's process handle? I'm looking for some way other then GetProcessID because it is supported only for WinXP systems.

Or, if anyone can tell how can I do the reverse, how can I get the process handle from HWND of a window.

Basically what I'm trying is to detect if an app is running and then get the handle to it's window.

Thanks.