🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Does a DLL know its own path?

#17173
From: nicolasr
Date: Tue, 01 Apr 2003 19:00
6 lines
1086 bytes
Hi,
I have tried GetModuleFileName() with the HINSTANCE that is passed to
DllEntryPoint() and that seems to work well.

thanks,
Nick
Technical Details
Message-ID: <3e89e1d4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e89a8e5$1@newsgroups.borland.com> <3e89de70$3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9b751bad45db0bc8
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-01 11:08:45 PST
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e89a8e5$1@newsgroups.borland.com> <3e89de70$3@newsgroups.borland.com>
Subject: Re: Does a DLL know its own path?
Date: Tue, 1 Apr 2003 21:00:49 +0200
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.133.172.106
Message-ID: <3e89e1d4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049223636 80.133.172.106 (1 Apr 2003 11:00:36 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail