Article View: borland.public.cppbuilder.nativeapi
Article #14451Re: createprocess does not work
From: Martin Nijhoff
Date: Mon, 11 Aug 2003 12:00
Date: Mon, 11 Aug 2003 12:00
10 lines
1322 bytes
1322 bytes
> CreateProcess("c:\\mail\\pkunzip.exe",
> "c:\\mail\\inbox\\file.zip",
> NULL, NULL, false,
> CREATE_NEW_CONSOLE,
> NULL, "c:\\mail", &Startup, &ProcInfo);
Try this:
CreateProcess(NULL, "c:\\mail\\pkunzip inbox\\file.zip", NULL, NULL, false,
CREATE_NEW_CONSOLE, NULL, NULL, &Startup, &ProcInfo);
Technical Details
Message-ID:
<3f3784cf$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f3781c5@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,100ba32b4819eec0 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-11 05:02:32 PST From: "Martin Nijhoff" <dont@mail.me> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f3781c5@newsgroups.borland.com> Subject: Re: createprocess does not work Date: Mon, 11 Aug 2003 14:00:26 +0200 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 81.68.6.177 Message-ID: <3f3784cf$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060603087 81.68.6.177 (11 Aug 2003 04:58:07 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail