Article View: borland.public.cppbuilder.nativeapi
Article #10132Re: "Which application loaded me?" asked the DLL
From: Remy Lebeau (TeamB)
Date: Tue, 18 May 2004 16:49
Date: Tue, 18 May 2004 16:49
12 lines
1326 bytes
1326 bytes
"Mike Williams (TeamB)" <mikew@remove.aps-soft.com> wrote in message
news:Xns94ED56C494E6Fmikewteamb@207.105.83.66...
> GetModuleFileName(HInstance, FileNameBuf, sizeof(FileNameBuf));
Change HInstance to NULL instead:
GetModuleFileName(NULL, FileNameBuf, sizeof(FileNameBuf));
Gambit
Technical Details
Message-ID:
<40aa3fbb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40a9fd35@newsgroups.borland.com> <Xns94ED56C494E6Fmikewteamb@207.105.83.66>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 From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi,borland.public.delphi.nativeapi.win32 References: <40a9fd35@newsgroups.borland.com> <Xns94ED56C494E6Fmikewteamb@207.105.83.66> Subject: Re: "Which application loaded me?" asked the DLL Date: Tue, 18 May 2004 09:49:15 -0700 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <40aa3fbb$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084899259 67.22.138.253 (18 May 2004 09:54:19 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail