Click here to Skip to main content
15,909,332 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: bug or my fault? Pin
David Crow25-Jun-03 7:08
David Crow25-Jun-03 7:08 
QuestionMemory leak in CMapStringToOb - Why? Pin
pf725-Jun-03 5:53
pf725-Jun-03 5:53 
AnswerRe: Memory leak in CMapStringToOb - Why? Pin
pf725-Jun-03 8:45
pf725-Jun-03 8:45 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
basementman25-Jun-03 11:27
basementman25-Jun-03 11:27 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf725-Jun-03 11:58
pf725-Jun-03 11:58 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf726-Jun-03 3:52
pf726-Jun-03 3:52 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
John M. Drescher26-Jun-03 23:27
John M. Drescher26-Jun-03 23:27 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf727-Jun-03 4:17
pf727-Jun-03 4:17 
Well, at the moment I'm just a beginner that tries this MFC collection class. Sadly, I've got no experience in STL at the moment. Maybe I'll learn how to use it by the time...
And yes, I've still got the same problem. I really do not know what causes these problems. As I before all this used a much more complex class with some CString(s) and COleDateTime, I thought that I did something wrong when deleting the whole object (maybe something in the destructor), but I get this problem even in this simple CTest class. I also before this created the whole thing on the stack CMapStingToOb Test; and thought it was this that caused the problem but it remained when I created it on the heap CMapStringToOb *pMTO = new CMapStringToOb;... Do you know if it has something to do with new and the associated pointers to the object instances or the instances of my CMapStringToOb?
I'll also ask a friend of mine who's got a Win XP machine to test it (I've got 98SE), maybe it is just the system... For what reason ever.
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
John M. Drescher27-Jun-03 9:47
John M. Drescher27-Jun-03 9:47 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf727-Jun-03 11:29
pf727-Jun-03 11:29 
Generalmaximum characters in edit box Pin
skinnyreptile25-Jun-03 5:36
skinnyreptile25-Jun-03 5:36 
GeneralRe: maximum characters in edit box Pin
Rob Caldecott25-Jun-03 5:40
Rob Caldecott25-Jun-03 5:40 
GeneralRe: maximum characters in edit box Pin
skinnyreptile25-Jun-03 5:48
skinnyreptile25-Jun-03 5:48 
GeneralRTTI/dynamic_cast Pin
Rob Caldecott25-Jun-03 5:08
Rob Caldecott25-Jun-03 5:08 
GeneralRe: RTTI/dynamic_cast Pin
John M. Drescher25-Jun-03 5:13
John M. Drescher25-Jun-03 5:13 
GeneralRe: RTTI/dynamic_cast Pin
Nemanja Trifunovic25-Jun-03 5:29
Nemanja Trifunovic25-Jun-03 5:29 
GeneralRe: RTTI/dynamic_cast Pin
Rob Caldecott25-Jun-03 5:33
Rob Caldecott25-Jun-03 5:33 
GeneralRe: RTTI/dynamic_cast Pin
peterchen25-Jun-03 5:33
peterchen25-Jun-03 5:33 
GeneralRe: RTTI/dynamic_cast Pin
Peter Weyzen25-Jun-03 5:49
Peter Weyzen25-Jun-03 5:49 
GeneralRe: RTTI/dynamic_cast Pin
peterchen25-Jun-03 6:27
peterchen25-Jun-03 6:27 
GeneralRe: RTTI/dynamic_cast Pin
John M. Drescher26-Jun-03 23:19
John M. Drescher26-Jun-03 23:19 
GeneralRe: RTTI/dynamic_cast Pin
Jim Crafton25-Jun-03 7:59
Jim Crafton25-Jun-03 7:59 
Generalimporting a DLL into a visual c++ 7 app Pin
si_6925-Jun-03 5:06
si_6925-Jun-03 5:06 
GeneralRe: importing a DLL into a visual c++ 7 app Pin
Peter Weyzen25-Jun-03 5:52
Peter Weyzen25-Jun-03 5:52 
GeneralRe: importing a DLL into a visual c++ 7 app Pin
si_6925-Jun-03 5:57
si_6925-Jun-03 5: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.