🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2997

Re: Finding the module name for a window

#2997
From: Risto Lankinen
Date: Mon, 03 Jun 1991 07:47
16 lines
1078 bytes
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     ***************************************
Technical Details
Message-ID: <1192@tuura.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!apple!fernwood!uupsi!sunic!fuug!tuura!risto
References: <8888@hsv3.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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