Click here to Skip to main content
15,905,686 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Removing Excel object from Task Manager Pin
minhpc_bk12-Sep-05 21:18
minhpc_bk12-Sep-05 21:18 
AnswerRe: C# Removing Excel object from Task Manager Pin
miah alom13-Sep-05 5:37
miah alom13-Sep-05 5:37 
GeneralRe: C# Removing Excel object from Task Manager Pin
dsrao13-Sep-05 8:23
dsrao13-Sep-05 8:23 
GeneralRe: C# Removing Excel object from Task Manager Pin
dsrao13-Sep-05 8:50
dsrao13-Sep-05 8:50 
GeneralRe: C# Removing Excel object from Task Manager Pin
Anonymous13-Sep-05 15:22
Anonymous13-Sep-05 15:22 
QuestionRead deadlock on child process Pin
brucemo12-Sep-05 13:36
brucemo12-Sep-05 13:36 
AnswerRe: Read deadlock on child process Pin
S. Senthil Kumar12-Sep-05 18:44
S. Senthil Kumar12-Sep-05 18:44 
GeneralRe: Read deadlock on child process Pin
brucemo12-Sep-05 20:04
brucemo12-Sep-05 20:04 
No, but thank you for the reply.

It's very simple. The thread sits there and does "ReadLine" from the stream buffer. When it gets a line, writes it to the console, and loops.

The stuff comes in pretty fast, but eventually the program will hang. If I enter the debugger, it's waiting for input, and if I drill down into the stream buffer, the buffer is full and the last thing I see displayed on the screen is the last thing in the buffer.

I am probably wrong, but here goes. I can imagine that most uses of this are done in one of two ways:

1) Continuous input.

2) Small hunks of input, which are fully processed and therefore never fill the buffer.

What I have is bursts of input, and then the child process will sit there and do nothing for a while. It would seem like a stream buffer should be used commonly enough that it should work correctly, but perhaps this way of doing input is rare.

If the stream buffer were my code, I'd assume I had a bug in the "block if buffer full" logic.

Thank you,

bruce

QuestionIssue with Form Sizing Pin
DeepToot12-Sep-05 11:57
DeepToot12-Sep-05 11:57 
AnswerRe: Issue with Form Sizing Pin
Christian Graus12-Sep-05 12:48
protectorChristian Graus12-Sep-05 12:48 
GeneralRe: Issue with Form Sizing Pin
DeepToot13-Sep-05 4:32
DeepToot13-Sep-05 4:32 
QuestionNeed to write a Form that accepts dropping files dragged from Explorer Pin
12-Sep-05 11:26
suss12-Sep-05 11:26 
AnswerRe: Need to write a Form that accepts dropping files dragged from Explorer Pin
Member 103390712-Sep-05 12:21
Member 103390712-Sep-05 12:21 
AnswerRe: Need to write a Form that accepts dropping files dragged from Explorer Pin
Mohamad Al Husseiny12-Sep-05 12:43
Mohamad Al Husseiny12-Sep-05 12:43 
QuestionDeserializer question Pin
Tom Wright12-Sep-05 11:23
Tom Wright12-Sep-05 11:23 
AnswerRe: Deserializer question Pin
S. Senthil Kumar12-Sep-05 15:26
S. Senthil Kumar12-Sep-05 15:26 
Questionlength Pin
xilefxilef12-Sep-05 10:57
xilefxilef12-Sep-05 10:57 
QuestionMoving files Pin
BECK712-Sep-05 7:11
BECK712-Sep-05 7:11 
AnswerRe: Moving files Pin
leppie12-Sep-05 7:23
leppie12-Sep-05 7:23 
AnswerRe: Moving files Pin
KaptinKrunch12-Sep-05 7:44
KaptinKrunch12-Sep-05 7:44 
GeneralRe: Moving files Pin
BECK712-Sep-05 10:04
BECK712-Sep-05 10:04 
GeneralRe: Moving files Pin
KaptinKrunch12-Sep-05 14:16
KaptinKrunch12-Sep-05 14:16 
QuestionMailer Application Pin
GalRatz12-Sep-05 6:24
GalRatz12-Sep-05 6:24 
AnswerRe: Mailer Application Pin
Jon Sagara12-Sep-05 6:36
Jon Sagara12-Sep-05 6:36 
GeneralRe: Mailer Application Pin
GalRatz12-Sep-05 8:25
GalRatz12-Sep-05 8: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.