🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3826

Re: GUI < I/O Redirection With Pipe> Console App

#3826
From: Remy Lebeau (TeamB)
Date: Thu, 27 Apr 2006 17:09
15 lines
1454 bytes
"sez" <www@sezginserin.com> wrote in message
news:4450ebe7@newsgroups.borland.com...

> Do you have an example for redirection console apps outputs
> to GUI app and GUI apps inputs to console app...

Such examples have been posted many times before.  Please go to
http://www.deja.com and search through the newsgroup archives.  In
particular, you need to use CreatePipe() along with the hStdIn/Out/Err
members of the STRARTUPINFO structure for CreateProcess(), and then use
Read/WriteFile() to exchange data over the pipes.


Gambit
Technical Details
Message-ID: <4450fbe1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!cox.net!news-xfer.cox.net!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4450ebe7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,db8b207bb1b4febd
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4450ebe7@newsgroups.borland.com>
Subject: Re: GUI < I/O Redirection With Pipe> Console App
Date: Thu, 27 Apr 2006 10:09:05 -0700
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4450fbe1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146158049 68.69.17.41 (27 Apr 2006 10:14:09 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!cox.net!news-xfer.cox.net!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail