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

C / C++ / MFC

 
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 
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 
Console app which reads stdin with fgets() untill it returns NULL.
If string read, fgets returns non-zero value, if ctrl+z\n read, fgets returns NULL.


case 1: VC compiled console app!
subcase A: lunch it from command line, type strings, type ctrl+z\n to quit it
subcase B: lunch it from win app thru createprocess(), write strings thru pipe to it, write \032\n bytes seq to pipe, console app will quit!


case 2: cygwin compiled console app!
subcase A: equal to subcase A in case 1.
subcase B: equal to subcase B in case 1. except that \032\n seq is interpreted as a string and does not force to return NULL function fgets() as in case 1, subcase B!!!


What to write to pipe of case 2,subcase B, to make cygwin compiled console app fgets() function to return NULL??????


9ine
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 
AnswerRe: How show a Bitmap Pin
Hamid_RT1-Mar-06 4:25
Hamid_RT1-Mar-06 4:25 
GeneralRe: How show a Bitmap Pin
Alfius791-Mar-06 4:30
Alfius791-Mar-06 4:30 
QuestionRe: How show a Bitmap Pin
David Crow1-Mar-06 4:27
David Crow1-Mar-06 4:27 
AnswerRe: How show a Bitmap Pin
Alfius791-Mar-06 21:05
Alfius791-Mar-06 21:05 

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.