🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DLL - which location is it called from ??

#5169
From: Remy Lebeau (TeamB)
Date: Wed, 28 Sep 2005 05:09
12 lines
1252 bytes
"David" <davids@unite.com.au> wrote in message
news:433a0fba$1@newsgroups.borland.com...

> In my DLL code how can I find which directory it is located
> and being called from by the calling app ??

Use GetModuleFileName(), specifying the HINSTANCE that is passed in as a
parameter to your DllEntryPoint() function.


Gambit
Technical Details
Message-ID: <433a2585$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail
References: <433a0fba$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,66c18af770c24da
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <433a0fba$1@newsgroups.borland.com>
Subject: Re: DLL - which location is it called from ??
Date: Tue, 27 Sep 2005 22:09:43 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <433a2585$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127884165 68.69.17.41 (27 Sep 2005 22:09:25 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail