Click here to Skip to main content
15,887,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to realize a textbox in client area? Pin
xyhan1-Mar-06 9:55
xyhan1-Mar-06 9:55 
QuestionRe: How to realize a textbox in client area? Pin
David Crow1-Mar-06 10:30
David Crow1-Mar-06 10:30 
AnswerRe: How to realize a textbox in client area? Pin
xyhan1-Mar-06 10:46
xyhan1-Mar-06 10:46 
GeneralRe: How to realize a textbox in client area? Pin
David Crow1-Mar-06 10:55
David Crow1-Mar-06 10:55 
GeneralRe: How to realize a textbox in client area? Pin
xyhan1-Mar-06 12:20
xyhan1-Mar-06 12:20 
GeneralRe: How to realize a textbox in client area? Pin
David Crow2-Mar-06 3:15
David Crow2-Mar-06 3:15 
AnswerRe: How to realize a textbox in client area? Pin
Nish Nishant1-Mar-06 11:19
sitebuilderNish Nishant1-Mar-06 11:19 
QuestionEOF for cygwin executable? Pin
9ine1-Mar-06 6:00
9ine1-Mar-06 6:00 
I've got some executable which runs with its cygwin.dll under windows and was compiled under cygwin.
It accepts to its stdin strings and read them with fgets();
if(fgets() == NULL)
return; //that is ctrl+z was pressed

This works if we run it from windows.
But if we run it thru win app with createprocess() and puts strings thru pipe to it it recieves them correctly and now we want to stop its reading stdin and write to it \032\n that is ctrl+z but its fgets compiled with cygwin does not recognize it as stop writing to me and fgets should return 0, it reads it as \032\n string!!!
and waits for another string to be written.

VC++ compiled console executable with fgets() correctly understand \032\n as ctrl+z and we can terminate it from win app.

What's the EOF symbol for cygwin compiled fgets?


9ine
AnswerRe: EOF for cygwin executable? Pin
Dan McCormick1-Mar-06 7:32
Dan McCormick1-Mar-06 7:32 
GeneralRe: EOF for cygwin executable? Pin
9ine1-Mar-06 22:18
9ine1-Mar-06 22:18 
GeneralRe: EOF for cygwin executable? Pin
Dan McCormick2-Mar-06 1:33
Dan McCormick2-Mar-06 1:33 
GeneralRe: EOF for cygwin executable? Pin
9ine2-Mar-06 5:02
9ine2-Mar-06 5:02 
AnswerRe: EOF for cygwin executable? Pin
Ryan Binns1-Mar-06 17:19
Ryan Binns1-Mar-06 17:19 
GeneralRe: EOF for cygwin executable? Pin
9ine1-Mar-06 22:15
9ine1-Mar-06 22:15 
GeneralRe: EOF for cygwin executable? Pin
Ryan Binns1-Mar-06 22:50
Ryan Binns1-Mar-06 22:50 
GeneralRe: EOF for cygwin executable? Pin
9ine1-Mar-06 23:38
9ine1-Mar-06 23:38 
QuestioncFile assert Pin
act_x1-Mar-06 5:58
act_x1-Mar-06 5:58 
AnswerRe: cFile assert Pin
David Crow1-Mar-06 6:58
David Crow1-Mar-06 6:58 
AnswerRe: cFile assert Pin
Joe Woodbury1-Mar-06 10:45
professionalJoe Woodbury1-Mar-06 10:45 
QuestionInitializing IXMLDOMTextPtr Pin
hanno251-Mar-06 5:26
hanno251-Mar-06 5:26 
QuestionMultiDocTemplate initialization question Pin
camoguard1-Mar-06 5:00
camoguard1-Mar-06 5:00 
AnswerRe: MultiDocTemplate initialization question Pin
camoguard1-Mar-06 5:31
camoguard1-Mar-06 5:31 
QuestionHowto make a system modal application Pin
whatever891-Mar-06 4:46
whatever891-Mar-06 4:46 
AnswerRe: Howto make a system modal application Pin
David Crow1-Mar-06 5:32
David Crow1-Mar-06 5:32 
QuestionHow show a Bitmap Pin
Alfius791-Mar-06 4:20
Alfius791-Mar-06 4:20 

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.