Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: scrollview issue on win7 environment Pin
Ghost Employee24-May-13 21:02
Ghost Employee24-May-13 21:02 
GeneralRe: scrollview issue on win7 environment Pin
Newbie0025-May-13 0:05
Newbie0025-May-13 0:05 
GeneralRe: scrollview issue on win7 environment Pin
Ghost Employee27-May-13 16:19
Ghost Employee27-May-13 16:19 
QuestionCurrent line of a CRichEditCtrl Pin
ForNow14-May-13 8:53
ForNow14-May-13 8:53 
AnswerRe: Current line of a CRichEditCtrl Pin
David Crow15-May-13 5:44
David Crow15-May-13 5:44 
GeneralRe: Current line of a CRichEditCtrl Pin
ForNow16-May-13 21:08
ForNow16-May-13 21:08 
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 
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 
In the first case, the pointers are pointing to memory maintained by the CStringArray class.
It is likely that CStringArray relocated, resized or moved the memory around.
So you need to allocate memory for each pointer and copy the contents to the allocated memory.

In the second case you have pointers to fixed locations that do not change.
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++) (October 2009 - September 2013)

Polymorphism in C

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.