Click here to Skip to main content
15,919,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error ? Pin
Larsson10-Mar-05 2:37
Larsson10-Mar-05 2:37 
GeneralRe: Error ? Pin
Branislav10-Mar-05 3:32
Branislav10-Mar-05 3:32 
GeneralRe: Error ? Pin
Branislav10-Mar-05 3:34
Branislav10-Mar-05 3:34 
AnswerRe: Error ? Pin
ThatsAlok10-Mar-05 1:40
ThatsAlok10-Mar-05 1:40 
GeneralRe: Error ? Pin
Larsson10-Mar-05 2:34
Larsson10-Mar-05 2:34 
GeneralC++ HELL Pin
vikramlinux9-Mar-05 22:43
vikramlinux9-Mar-05 22:43 
GeneralRe: C++ HELL Pin
Steen Krogsgaard9-Mar-05 23:38
Steen Krogsgaard9-Mar-05 23:38 
GeneralRedirecting console app output with immediate message delivery Pin
Member 17922589-Mar-05 21:48
Member 17922589-Mar-05 21:48 
It's quite simple to redirect console application output using unnamed pipe. The problem is that standard output stream uses buffer! Default buffer size is 4K, and output text won't be delivered until buffer is filled or program is closed.

I run application that spawns another process and should receive its output as soon as it's availible. This should be done WITHOUT smashing into child application code (so setvbuf(stdout, 0, _IOFBF, 2) or fflush()/_flushall() calls cannot be used).

So, does anyone know the way to set buffer size of another process' standard output stream?
GeneralChange output directory Pin
doctorpi9-Mar-05 21:22
doctorpi9-Mar-05 21:22 
GeneralRe: Change output directory Pin
Steen Krogsgaard9-Mar-05 22:16
Steen Krogsgaard9-Mar-05 22:16 
GeneralRe: Change output directory Pin
doctorpi9-Mar-05 22:20
doctorpi9-Mar-05 22:20 
GeneralRe: Change output directory Pin
Steen Krogsgaard9-Mar-05 22:24
Steen Krogsgaard9-Mar-05 22:24 
QuestionHow to access VB ActiveX dll from Win32 dll from VC++ Pin
gayanperera9-Mar-05 21:06
gayanperera9-Mar-05 21:06 
Generalfile in window Pin
Member 299699-Mar-05 20:43
Member 299699-Mar-05 20:43 
GeneralRe: file in window Pin
gamitech9-Mar-05 21:08
gamitech9-Mar-05 21:08 
GeneralControl panel applet icon Pin
sunilkumar_prog9-Mar-05 20:15
sunilkumar_prog9-Mar-05 20:15 
GeneralRe: Control panel applet icon Pin
David Crow10-Mar-05 5:18
David Crow10-Mar-05 5:18 
GeneralRe: Control panel applet icon Pin
sunilkumar_prog12-Mar-05 0:49
sunilkumar_prog12-Mar-05 0:49 
GeneralhDC,undeclared identifier error Pin
Member 16927359-Mar-05 20:03
Member 16927359-Mar-05 20:03 
GeneralRe: hDC,undeclared identifier error Pin
Branislav10-Mar-05 0:28
Branislav10-Mar-05 0:28 
GeneralHi... Great People.... Pin
deldeep9-Mar-05 19:16
deldeep9-Mar-05 19:16 
GeneralRe: Hi... Great People.... Pin
Tareq Ahmed Siraj9-Mar-05 20:11
Tareq Ahmed Siraj9-Mar-05 20:11 
GeneralRe: Hi... Great People.... Pin
deldeep11-Mar-05 18:42
deldeep11-Mar-05 18:42 
GeneralReadDebuggeeMemory Pin
Aleksan9-Mar-05 19:16
Aleksan9-Mar-05 19:16 
Generalhelp needed SafeArrayAccessData Pin
arusmemon9-Mar-05 18:25
arusmemon9-Mar-05 18:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.