Click here to Skip to main content
15,916,042 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How could I get the parent of an embedded control generically ? Pin
SherTeks17-Aug-08 21:59
SherTeks17-Aug-08 21:59 
AnswerRe: How could I get the parent of an embedded control generically ? Pin
Naveen17-Aug-08 19:11
Naveen17-Aug-08 19:11 
QuestionWeird stack corruption problem Pin
jozsurf17-Aug-08 18:11
jozsurf17-Aug-08 18:11 
AnswerRe: Weird stack corruption problem Pin
Naveen17-Aug-08 18:22
Naveen17-Aug-08 18:22 
AnswerRe: Weird stack corruption problem Pin
Stephen Hewitt17-Aug-08 18:24
Stephen Hewitt17-Aug-08 18:24 
GeneralRe: Weird stack corruption problem Pin
jozsurf17-Aug-08 18:33
jozsurf17-Aug-08 18:33 
GeneralRe: Weird stack corruption problem Pin
Stephen Hewitt17-Aug-08 18:36
Stephen Hewitt17-Aug-08 18:36 
GeneralRe: Weird stack corruption problem Pin
jozsurf17-Aug-08 19:45
jozsurf17-Aug-08 19:45 
I'm not a 100% that it is related to std::string of course but the evidence that I've seen so far (through the debugger) appears to point to that. So these are a set of sample values of the this pointer before and after corruption:

Before the std::string declaration: 0x01779408 (debugger tells me that it's pointing to a valid object, it has valid members etc)

In the constructor of the string: 0x0012f174

After the string has been constructed: 0x0012f18c (i.e. not null but not our original this pointer either)

I should have mentioned earlier (it has just entered my mind) that the project that I am working on makes use of STLPort and so the std::string is the STLPort std::string. Possibly could be a bug in STLPort...just not sure why it's occuring now for this particular project and not for the many, MANY other times when I've used std::string without even having to think about it...
GeneralRe: Weird stack corruption problem Pin
Stephen Hewitt17-Aug-08 19:57
Stephen Hewitt17-Aug-08 19:57 
GeneralRe: Weird stack corruption problem Pin
jozsurf17-Aug-08 20:23
jozsurf17-Aug-08 20:23 
GeneralRe: Weird stack corruption problem Pin
Nibu babu thomas17-Aug-08 18:52
Nibu babu thomas17-Aug-08 18:52 
GeneralRe: Weird stack corruption problem Pin
Stephen Hewitt17-Aug-08 19:49
Stephen Hewitt17-Aug-08 19:49 
GeneralRe: Weird stack corruption problem Pin
jozsurf17-Aug-08 19:55
jozsurf17-Aug-08 19:55 
QuestionDo I need call CString::Empty? Pin
fantasy121517-Aug-08 17:27
fantasy121517-Aug-08 17:27 
AnswerRe: Do I need call CString::Empty? Pin
Naveen17-Aug-08 17:46
Naveen17-Aug-08 17:46 
GeneralRe: Do I need call CString::Empty? Pin
fantasy121517-Aug-08 17:54
fantasy121517-Aug-08 17:54 
GeneralRe: Do I need call CString::Empty? Pin
Naveen17-Aug-08 18:01
Naveen17-Aug-08 18:01 
AnswerRe: Do I need call CString::Empty? Pin
ThatsAlok19-Aug-08 20:34
ThatsAlok19-Aug-08 20:34 
QuestionRe: Do I need call CString::Empty? Pin
nul2629-Sep-10 22:34
nul2629-Sep-10 22:34 
AnswerRe: Do I need call CString::Empty? Pin
ThatsAlok30-Sep-10 2:49
ThatsAlok30-Sep-10 2:49 
Questionproxy stub files Pin
George_George17-Aug-08 16:47
George_George17-Aug-08 16:47 
Questionhow to set one item font color in the listctrl box? Pin
sinyan17-Aug-08 16:25
sinyan17-Aug-08 16:25 
AnswerRe: how to set one item font color in the listctrl box? Pin
Naveen17-Aug-08 17:51
Naveen17-Aug-08 17:51 
AnswerRe: how to set one item font color in the listctrl box? Pin
Hamid_RT18-Aug-08 5:05
Hamid_RT18-Aug-08 5:05 
QuestionSTA owner thread blocking issue Pin
George_George17-Aug-08 16:22
George_George17-Aug-08 16:22 

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.