🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcessAsUserW and quoted path names...

#62
From: Remy Lebeau (TeamB)
Date: Wed, 18 Jun 2008 17:40
18 lines
1579 bytes
"Mike Collins" <its@TheBottomOfThePost> wrote in message 
news:4858d313@newsgroups.borland.com...

> Err, I'm passing the path and exe name in the lpApplicationName
> parameter and some addition switches in the lpCommandLine parameter.

In order for that to work correctly, you have to pass the the exe path and 
name in the lpCommandLine parameter as well.  To remove the duplication, 
simply set lpApplicationName to NULL instead.

> I take it that you are suggesting passing eveything in the lpCommandLine
> parameter?

Yes.


Gambit 
Technical Details
Message-ID: <48594c13$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4855474a@newsgroups.borland.com> <48569aa9$1@newsgroups.borland.com> <4858d313@newsgroups.borland.com>
Subject: Re: CreateProcessAsUserW and quoted path names...
Date: Wed, 18 Jun 2008 10:40:20 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 76.94.74.164
Message-ID: <48594c13$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1213811731 76.94.74.164 (18 Jun 2008 10:55:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail