🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Get cmdline args of another program?

#13873
From: Islaw
Date: Sun, 14 Sep 2003 08:28
8 lines
1191 bytes
Hello. I'm wonder if there is a winapi function for getting a list of
command line paramers passed to a program that is running by using someting
like it's HWND or PID? And I mean any program, not one necessarily started
by my program.

I've looked though the win32 help but could not find anything like this.

Thanks.
Technical Details
Message-ID: <3f64269f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!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,9d54a63f4f340102,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-14 01:39:21 PST
From: "Islaw" <szr80@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Get cmdline args of another program?
Date: Sun, 14 Sep 2003 01:28:15 -0700
Lines: 10
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: 64.85.232.117
Message-ID: <3f64269f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063528095 64.85.232.117 (14 Sep 2003 01:28:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail