🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10128

Re: "Which application loaded me?" asked the DLL

#10128
From: Mike Williams (TeamB)
Date: Tue, 18 May 2004 12:31
9 lines
1080 bytes
On 18 May 2004, <Tomas> wrote:

> Is it possible to find in DLL the name of the application which loaded
> that dll?

GetModuleFileName(HInstance, FileNameBuf, sizeof(FileNameBuf));

-- 
-Mike (TeamB)
Technical Details
Message-ID: <Xns94ED56C494E6Fmikewteamb@207.105.83.66>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news-xfer.cox.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40a9fd35@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,198e432f54304df2
X-Google-Thread: 14438e,198e432f54304df2
X-Google-Attributes: gid10cc67,gid14438e,public
Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.delphi.nativeapi.win32
Subject: Re: "Which application loaded me?" asked the DLL
From: "Mike Williams (TeamB)" <mikew@remove.aps-soft.com>
References: <40a9fd35@newsgroups.borland.com>
Organization: APS, Inc
Message-ID: <Xns94ED56C494E6Fmikewteamb@207.105.83.66>
User-Agent: Xnews/06.08.25
NNTP-Posting-Host: 66.107.65.98
Date: 18 May 2004 05:31:45 -0700
X-Trace: newsgroups.borland.com 1084883505 66.107.65.98 (18 May 2004 05:31:45 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news-xfer.cox.net!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail