🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Command line parms and dll's

#10796
From: Remy Lebeau (TeamB)
Date: Mon, 15 Mar 2004 18:23
12 lines
1411 bytes
"Michel Corbin" <michel> wrote in message
news:4055c270$1@newsgroups.borland.com...

> I dont know whether ParamStr(0) works in a dll.

It will, if the exe name, not the dll name, is what p Anders is actually
looking for.  Internally, ParamStr(0) simply calls GetModuleFileName() to
retreive the file name of the calling process.


Gambit
Technical Details
Message-ID: <4055f27b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4055bde3$1@newsgroups.borland.com> <4055c270$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ba03626f392813af
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-15 10:35:16 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4055bde3$1@newsgroups.borland.com> <4055c270$1@newsgroups.borland.com>
Subject: Re: Command line parms and dll's
Date: Mon, 15 Mar 2004 10:23:26 -0800
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: <4055f27b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079374459 67.22.138.253 (15 Mar 2004 10:14:19 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-05!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail