🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Command Line Arguments

#10874
From: Graham Reeds
Date: Fri, 12 Mar 2004 12:20
15 lines
1399 bytes
> However, a GUI program doesn't have a main() function to begin with.  It
has
> a WinMain() function instead, which does not have argv() and argc()
> parameters.

There is a macro that will allow you to get at them easily but I can't
remember what it is off the top of my head.  If I remember later on I will
let you know.

*puzzled*

--

Graham Reeds,
grahamr@omnieng.co.uk | http://omnieng.co.uk
Technical Details
Message-ID: <4051aabf@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4050cd3f$1@newsgroups.borland.com> <4050d134$1@newsgroups.borland.com> <4050d29b$1@newsgroups.borland.com> <4050d89e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,883b2e2ca964e949
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-12 04:38:03 PST
From: "Graham Reeds" <grahamr@omnieng.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4050cd3f$1@newsgroups.borland.com> <4050d134$1@newsgroups.borland.com> <4050d29b$1@newsgroups.borland.com> <4050d89e$1@newsgroups.borland.com>
Subject: Re: Command Line Arguments
Date: Fri, 12 Mar 2004 12:20:08 -0000
Lines: 17
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: 193.82.59.1
Message-ID: <4051aabf@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079093951 193.82.59.1 (12 Mar 2004 04:19:11 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail