Article View: borland.public.cppbuilder.nativeapi
Article #10862Command Line Arguments
From: p Anders
Date: Thu, 11 Mar 2004 20:34
Date: Thu, 11 Mar 2004 20:34
9 lines
1455 bytes
1455 bytes
I'd like to retrieve the command line arguments for a GUI application. I have seen the GetCommandLine() method and the CommandLineToArgvW method but what in the world is this return type "LPWSTR" and what is this parameter "LPCWSSTR"? Can anyone tell me how in the world I use this to convert the result of the GetCommandLine argument into a standard char* argv[]? Thanks!!!
Technical Details
Message-ID:
<4050cd3f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,883b2e2ca964e949,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-11 12:40:49 PST Reply-To: "p Anders" <paul.anderson@jhuapl.edu> From: "p Anders" <paul.anderson@jhuapl.edu> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Command Line Arguments Date: Thu, 11 Mar 2004 15:34:08 -0500 Lines: 11 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: <4050cd3f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079037247 128.244.21.78 (11 Mar 2004 12:34:07 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail