Click here to Skip to main content
15,904,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to change regional setting Pin
venu_vooda23-Jan-05 22:36
venu_vooda23-Jan-05 22:36 
AnswerRe: how to change regional setting Pin
ThatsAlok23-Jan-05 23:47
ThatsAlok23-Jan-05 23:47 
GeneralCross platform GUID's Pin
Giles23-Jan-05 22:24
Giles23-Jan-05 22:24 
Generalreading a file - one bit at a time Pin
2000ram23-Jan-05 22:17
2000ram23-Jan-05 22:17 
GeneralRe: reading a file - one bit at a time Pin
toxcct23-Jan-05 22:27
toxcct23-Jan-05 22:27 
GeneralRe: reading a file - one bit at a time Pin
2000ram23-Jan-05 23:41
2000ram23-Jan-05 23:41 
QuestionAnything wrong with this? Pin
Yulianto.23-Jan-05 22:11
Yulianto.23-Jan-05 22:11 
AnswerRe: Anything wrong with this? Pin
David Crow24-Jan-05 2:42
David Crow24-Jan-05 2:42 
Yulianto AKA goodmast3r wrote:
AfxMessageBox(strText);
strText.ReleaseBuffer(nLineLength);


These two lines should be switched. Straight from MSDN:

If you use the pointer returned by GetBuffer() to change the string contents, you must call ReleaseBuffer() before using any other CString member functions.


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


AnswerRe: Anything wrong with this? Pin
James R. Twine24-Jan-05 3:37
James R. Twine24-Jan-05 3:37 
GeneralSendMessage Pin
Yulianto.23-Jan-05 21:54
Yulianto.23-Jan-05 21:54 
GeneralRe: SendMessage Pin
ThatsAlok23-Jan-05 22:21
ThatsAlok23-Jan-05 22:21 
GeneralRe: SendMessage Pin
ThatsAlok23-Jan-05 22:22
ThatsAlok23-Jan-05 22:22 
GeneralRe: SendMessage Pin
Yulianto.23-Jan-05 22:50
Yulianto.23-Jan-05 22:50 
GeneralRe: SendMessage Pin
ThatsAlok23-Jan-05 23:42
ThatsAlok23-Jan-05 23:42 
GeneralRe: SendMessage Pin
Mircea Puiu23-Jan-05 22:42
Mircea Puiu23-Jan-05 22:42 
GeneralOutput formatting Pin
hugPW23-Jan-05 21:31
hugPW23-Jan-05 21:31 
GeneralRe: Output formatting Pin
David Crow24-Jan-05 2:49
David Crow24-Jan-05 2:49 
GeneralRe: Output formatting Pin
hugPW24-Jan-05 3:12
hugPW24-Jan-05 3:12 
GeneralRe: Output formatting Pin
David Crow24-Jan-05 3:25
David Crow24-Jan-05 3:25 
GeneralRe: Output formatting Pin
hugPW24-Jan-05 5:40
hugPW24-Jan-05 5:40 
GeneralRe: Output formatting Pin
David Crow24-Jan-05 9:02
David Crow24-Jan-05 9:02 
GeneralRe: Output formatting Pin
hugPW24-Jan-05 5:43
hugPW24-Jan-05 5:43 
QuestionHow to open USB port? Pin
eli1502197923-Jan-05 21:12
eli1502197923-Jan-05 21:12 
AnswerRe: How to open USB port? Pin
Cedric Moonen23-Jan-05 21:32
Cedric Moonen23-Jan-05 21:32 
GeneralRe: How to open USB port? Pin
eli1502197923-Jan-05 21:44
eli1502197923-Jan-05 21:44 

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.