Article View: borland.public.cppbuilder.nativeapi
Article #12320Re: Execute DOS application
From: Remy Lebeau (TeamB)
Date: Wed, 10 Dec 2003 00:10
Date: Wed, 10 Dec 2003 00:10
13 lines
1527 bytes
1527 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:mslctvobfomv7s9bjdv0bkgh8outepmg5q@4ax.com... > Wouldn't he open file.txt, and pass the handle in hStdInput ? I do not know whether file handles are usable in that way. He could try it, though. Worse case scenerio, he could simply use CreatePipe() to create a suitable HANDLE for CreateProcess(), and then open the file separately and use WriteFile() to send the file contents to the pipe. Gambit
Technical Details
Message-ID:
<3fd663ca$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fd5ac1f$1@newsgroups.borland.com> <3fd5ad82$1@newsgroups.borland.com> <3fd5c289@newsgroups.borland.com> <3fd62e6d$3@newsgroups.borland.com> <mslctvobfomv7s9bjdv0bkgh8outepmg5q@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,714ec80889168aad X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-09 16:09:33 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fd5ac1f$1@newsgroups.borland.com> <3fd5ad82$1@newsgroups.borland.com> <3fd5c289@newsgroups.borland.com> <3fd62e6d$3@newsgroups.borland.com> <mslctvobfomv7s9bjdv0bkgh8outepmg5q@4ax.com> Subject: Re: Execute DOS application Date: Tue, 9 Dec 2003 16:10:21 -0800 Lines: 15 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: 67.23.78.224 Message-ID: <3fd663ca$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071014858 67.23.78.224 (9 Dec 2003 16:07:38 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail