Article View: borland.public.cppbuilder.nativeapi
Article #157Re: CreateProcessAsUserW and quoted path names...
From: Mike Collins
Date: Wed, 18 Jun 2008 10:29
Date: Wed, 18 Jun 2008 10:29
19 lines
1613 bytes
1613 bytes
Hay Bob, sorry for the lateness, have been away from my desk for a few days.
Thanks for the suggestions, I'm going to have a look at it now.
Just out of interest, the docs say that you can use the = operator with a
WideString and assign an AnsiString this way, based on this, would the
following be a better solution (this is purly out of interest):
WideString wzAppName = AnsiString("\"" + Utils->getControlCentreExePath() +
"\"");
Thanks again,
Mike
"Bob Gonder" <none@nowhere.invalid> wrote in message
news:933b54p734ss9a639pu6qs5t34ripfgl77@4ax.com...
> Mike Collins wrote:
>
Technical Details
Message-ID:
<4858d2af@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4855474a@newsgroups.borland.com> <k3ua5456b2t0gdnnc6mmdm0hn2tm6crosr@4ax.com> <4855889d@newsgroups.borland.com> <933b54p734ss9a639pu6qs5t34ripfgl77@4ax.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: "Mike Collins" <its@TheBottomOfThePost> Newsgroups: borland.public.cppbuilder.nativeapi References: <4855474a@newsgroups.borland.com> <k3ua5456b2t0gdnnc6mmdm0hn2tm6crosr@4ax.com> <4855889d@newsgroups.borland.com> <933b54p734ss9a639pu6qs5t34ripfgl77@4ax.com> Subject: Re: CreateProcessAsUserW and quoted path names... Date: Wed, 18 Jun 2008 10:29:01 -0000 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.3959 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 78.149.81.237 Message-ID: <4858d2af@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1213780655 78.149.81.237 (18 Jun 2008 02:17:35 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail