Article View: borland.public.cppbuilder.nativeapi
Article #12510Re: Execute DOS application
From: Remy Lebeau (TeamB)
Date: Tue, 09 Dec 2003 20:24
Date: Tue, 09 Dec 2003 20:24
13 lines
1360 bytes
1360 bytes
"George" <george@nospam.org> wrote in message
news:3fd5c289@newsgroups.borland.com...
> StartupInfo.hStdInput = reinterpret_cast <HANDLE> (STD_INPUT_HANDLE);
That is not the correct way to assign the STDIN handle. If you man to use
the standard handle, then you should be using GetStdHandle() instead:
StartupInfo.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
Gambit
Technical Details
Message-ID:
<3fd62e6d$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!nntp.infostrada.it!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>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 12:40:08 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> Subject: Re: Execute DOS application Date: Tue, 9 Dec 2003 12:24:34 -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: <3fd62e6d$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071001197 67.23.78.224 (9 Dec 2003 12:19:57 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail