Article View: borland.public.cppbuilder.nativeapi
Article #17188Re: Does a DLL know its own path?
From: Nick B. Cassos
Date: Wed, 02 Apr 2003 07:45
Date: Wed, 02 Apr 2003 07:45
14 lines
1404 bytes
1404 bytes
On Tue, 1 Apr 2003 10:12:33 -0600, "Early Ehlinger" <early@respower.com> wrote: > >GetModuleFileName returns the fully-qualified filename, so there's no need >to search any paths. Simply pass this API the HINSTANCE that the OS passes >to you in DllMain: > Please, ignore my previous post. I was misunderstood. -- Nick B. Cassos
Technical Details
Message-ID:
<375l8v4b3atoa3hs4pc77o8habp1k8666a@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3e89a8e5$1@newsgroups.borland.com> <ikcj8vkkoh627qccc57je6qv2d1uruhav1@4ax.com> <3e89ba73@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 23:54:16 PST From: Nick B. Cassos <nbc@no_spam.ath.forthnet.gr> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Does a DLL know its own path? Date: Wed, 02 Apr 2003 10:45:48 +0300 Message-ID: <375l8v4b3atoa3hs4pc77o8habp1k8666a@4ax.com> References: <3e89a8e5$1@newsgroups.borland.com> <ikcj8vkkoh627qccc57je6qv2d1uruhav1@4ax.com> <3e89ba73@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.16.148.25 X-Trace: newsgroups.borland.com 1049269549 213.16.148.25 (1 Apr 2003 23:45:49 -0800) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail