0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by lplover2k
oh ok...so it's that complicated?..
Offtopic comment:
You can always assume that
0
lplover2k's Avatar, Join Date: Feb 2007
Go4Expert Member
i think i going to read each pixel of the jpg image and send them in series in a string and i reassemble them at destination...
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by lplover2k
i think i going to read each pixel of the jpg image and send them in series in a string and i reassemble them at destination...
That will corrupt the final output file and send them as bytes.
0
parvez.yu's Avatar, Join Date: Feb 2008
Ambitious contributor
ipc is quite complicated ,can you give me some link from where i can gain some knowledge
0
jithoos's Avatar
Newbie Member
I have a console exe, which simple does like this.

_tprintf(_T("Hello..."));
Sleep(2000);
_tprintf(_T("Good Morning.."));
Sleep(3000);
_tprintf(_T("How r u??"));

I want invoke this exe from my Dialog appication, and display these outputs in a ListBox. I did it using CreatePipe(), CreateProcess() and ReadFile() functions. But the problem now is when execution reaches the ReadFile() function, it stucks for some time(upto the completion of child process) . And instead of getting "Hello", RedFile() reads entire output texts ("Hello.. GoodMorning..How r u??") as a whole. But what i want is to instantly read the output of child exe whenver it prints a new text.. Wht to do??