Article View: borland.public.cppbuilder.nativeapi
Article #14450createprocess does not work
From: N. Karademir
Date: Mon, 11 Aug 2003 11:45
Date: Mon, 11 Aug 2003 11:45
29 lines
1673 bytes
1673 bytes
Hi,
i have the next problem.
i would like to execute the next dos appl.
c:\mailsmart\pkunzip.exe c:\mail\inbox\file.zip
pkunzip keeps reporting that the parameters are wrong.
i use the code below:
CreateProcess("c:\\mail\\pkunzip.exe",
"c:\\mail\\inbox\\file.zip",
NULL, NULL, false,
CREATE_NEW_CONSOLE,
NULL, "c:\\mail", &Startup, &ProcInfo);
i cannot get this code work.
the applicatiuon search fot the hd for a *.zip file in inbox directory whith
findfirst and findnext.
when the zip file is found, i would like to extract it. the problem is in
create process
can someone help me further?
N. Karademir
Technical Details
Message-ID:
<3f3781c5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,100ba32b4819eec0,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-11 04:56:18 PST From: "N. Karademir" <n.karademir@smart-software.org> Newsgroups: borland.public.cppbuilder.nativeapi Subject: createprocess does not work Date: Mon, 11 Aug 2003 12:45:09 +0100 Lines: 33 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: 81.204.147.251 Message-ID: <3f3781c5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060602309 81.204.147.251 (11 Aug 2003 04:45:09 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail