🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcessAsUserW and quoted path names...

#160
From: Bob Gonder
Date: Wed, 18 Jun 2008 16:33
11 lines
1380 bytes
Mike Collins wrote:

>Err, I'm passing the path and exe name in the lpApplicationName parameter 
>and some addition switches in the lpCommandLine parameter.  I take it that 
>you are suggesting passing eveything in the lpCommandLine parameter?

You can use both:
lpApplicationName = App.exe
lpCommandLine = App.exe Arg1 Arg2

So the application is argv[0], which is expected by the application.
Technical Details
Message-ID: <70ei541jkt65mhmjifdc948j1hmt260pc2@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer03.iad!news.highwinds-media.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4855474a@newsgroups.borland.com> <48569aa9$1@newsgroups.borland.com> <4858d313@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a169c88c9ed98680
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <none@nowhere.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: CreateProcessAsUserW and quoted path names...
Date: Wed, 18 Jun 2008 09:33:49 -0700
Message-ID: <70ei541jkt65mhmjifdc948j1hmt260pc2@4ax.com>
References: <4855474a@newsgroups.borland.com> <48569aa9$1@newsgroups.borland.com> <4858d313@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.144.12
X-Trace: newsgroups.borland.com 1213806824 67.77.144.12 (18 Jun 2008 09:33:44 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer03.iad!news.highwinds-media.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail