Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!apple!fernwood!uupsi!sunic!fuug!tuura!risto From: risto@tuura.UUCP (Risto Lankinen) Newsgroups: comp.windows.ms.programmer Subject: Re: Finding the module name for a window Message-ID: <1192@tuura.UUCP> Date: 3 Jun 91 07:47:13 GMT References: <8888@hsv3.UUCP> Organization: Nokia Data Systems Oy Lines: 16 jls@hsv3.UUCP (James Seidman) writes: >Given the handle to a window, is there any sequence of calls I can make >to find out the name of the module which owns it? I'd settle for either >just the short name or the full path. Hi! I'd try with 'GetModuleFileName( GetWindowWord(hWnd,GWW_HINSTANCE),... )'. Terveisin: Risto Lankinen -- Risto Lankinen / product specialist *************************************** Nokia Data Systems, Technology Dept * 2 3 * THIS SPACE INTENTIONALLY LEFT BLANK * 2 +1 is PRIME! Now working on 2 -1 * replies: risto@yj.data.nokia.fi ***************************************