🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Command line parms and dll's

#10787
From: p Anders
Date: Mon, 15 Mar 2004 14:29
12 lines
1409 bytes
I am using _argc and _argv to retrieve command line parameters.  These don't
seem to work in a dll - maybe this makes sense but I'm not really familiar
with dll's.

Isn't argc and argv ALWAYS guaranteed to at least contain the name of the
program itself???????

Can someone tell me, 1) does this make sense?  Is there another way to get
command line parms in a dll? and 2) what I really need from the command line
parms is the name of the program itself.

Thanks a lot!!!
Technical Details
Message-ID: <4055bde3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ba03626f392813af,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-15 06:40:12 PST
Reply-To: "p Anders" <paul.anderson@jhuapl.edu>
From: "p Anders" <paul.anderson@jhuapl.edu>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Command line parms and dll's
Date: Mon, 15 Mar 2004 09:29:56 -0500
Lines: 14
Organization: JHU/APL
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 128.244.21.78
Message-ID: <4055bde3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079360995 128.244.21.78 (15 Mar 2004 06:29:55 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail