Click here to Skip to main content
15,894,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Current line of a CRichEditCtrl Pin
David Crow17-May-13 3:12
David Crow17-May-13 3:12 
AnswerRe: Current line of a CRichEditCtrl Pin
ForNow17-May-13 4:24
ForNow17-May-13 4:24 
GeneralRe: Current line of a CRichEditCtrl Pin
David Crow17-May-13 4:47
David Crow17-May-13 4:47 
GeneralRe: Current line of a CRichEditCtrl Pin
ForNow17-May-13 4:54
ForNow17-May-13 4:54 
GeneralRe: Current line of a CRichEditCtrl Pin
ForNow18-May-13 21:44
ForNow18-May-13 21:44 
Questionhow to develop an generic hid mouse emulator? (Driver in c) Pin
jeffery c14-May-13 4:05
jeffery c14-May-13 4:05 
QuestionHow to Reload the Explorer Pin
sarfaraznawaz14-May-13 2:08
sarfaraznawaz14-May-13 2:08 
AnswerRe: How to Reload the Explorer Pin
dusty_dex14-May-13 2:58
dusty_dex14-May-13 2:58 
QuestionRe: How to Reload the Explorer Pin
David Crow14-May-13 7:00
David Crow14-May-13 7:00 
AnswerRe: How to Reload the Explorer Pin
sarfaraznawaz14-May-13 23:13
sarfaraznawaz14-May-13 23:13 
GeneralRe: How to Reload the Explorer Pin
David Crow15-May-13 5:17
David Crow15-May-13 5:17 
QuestionCBitmap::CreateCompatibleBitmap() fail Pin
_Flaviu13-May-13 2:44
_Flaviu13-May-13 2:44 
SuggestionRe: CBitmap::CreateCompatibleBitmap() fail Pin
Jochen Arndt13-May-13 3:05
professionalJochen Arndt13-May-13 3:05 
GeneralRe: CBitmap::CreateCompatibleBitmap() fail Pin
_Flaviu15-May-13 19:59
_Flaviu15-May-13 19:59 
GeneralRe: CBitmap::CreateCompatibleBitmap() fail Pin
Jochen Arndt15-May-13 20:46
professionalJochen Arndt15-May-13 20:46 
Questionchar ** initialization and store values Pin
tagopi13-May-13 2:42
tagopi13-May-13 2:42 
AnswerRe: char ** initialization and store values Pin
Jochen Arndt13-May-13 2:58
professionalJochen Arndt13-May-13 2:58 
The code looks fine. Because only one of the strings from your array returns wrong data, this element may be corrupted somewhere else.

Note also that you must call ReleaseBuffer() for each string array element after calling the library function. If not doing so, further accesses may return invalid data.

You should also check the documentation of the library if the passed strings are constant or may be changed. If they may be changed, you must pass the max. allowed length to GetBuffer().
AnswerRe: char ** initialization and store values Pin
Erudite_Eric14-May-13 11:18
Erudite_Eric14-May-13 11:18 
AnswerRe: char ** initialization and store values Pin
«_Superman_»14-May-13 16:58
professional«_Superman_»14-May-13 16:58 
GeneralRe: char ** initialization and store values Pin
Erudite_Eric15-May-13 0:47
Erudite_Eric15-May-13 0:47 
QuestionHow to change the string of a MFC Menu item that contains '\t' Pin
haha_c12-May-13 21:40
haha_c12-May-13 21:40 
SuggestionRe: How to change the string of a MFC Menu item that contains '\t' Pin
Richard MacCutchan12-May-13 23:02
mveRichard MacCutchan12-May-13 23:02 
AnswerRe: How to change the string of a MFC Menu item that contains '\t' Pin
Jochen Arndt12-May-13 23:40
professionalJochen Arndt12-May-13 23:40 
GeneralRe: How to change the string of a MFC Menu item that contains '\t' Pin
haha_c13-May-13 16:04
haha_c13-May-13 16:04 
GeneralRe: How to change the string of a MFC Menu item that contains '\t' Pin
Jochen Arndt13-May-13 20:57
professionalJochen Arndt13-May-13 20:57 

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.