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

C / C++ / MFC

 
GeneralRe: Exiting Dialog to calling Dialog with data Pin
Karen03022-Nov-03 13:02
Karen03022-Nov-03 13:02 
GeneralRe: Exiting Dialog to calling Dialog with data Pin
Christian Graus2-Nov-03 13:08
protectorChristian Graus2-Nov-03 13:08 
GeneralRe: Exiting Dialog to calling Dialog with data Pin
Karen03022-Nov-03 13:14
Karen03022-Nov-03 13:14 
GeneralRe: Exiting Dialog to calling Dialog with data Pin
Christian Graus2-Nov-03 13:15
protectorChristian Graus2-Nov-03 13:15 
GeneralRe: Exiting Dialog to calling Dialog with data Pin
Karen03023-Nov-03 2:05
Karen03023-Nov-03 2:05 
GeneralRe: Exiting Dialog to calling Dialog with data Pin
Christian Graus3-Nov-03 9:09
protectorChristian Graus3-Nov-03 9:09 
Questionhow to debug dll Pin
pnpfriend2-Nov-03 11:26
pnpfriend2-Nov-03 11:26 
AnswerRe: how to debug dll Pin
Brad Bruce2-Nov-03 12:35
Brad Bruce2-Nov-03 12:35 
GeneralMulti doc/views and MDI Pin
alex.barylski2-Nov-03 8:49
alex.barylski2-Nov-03 8:49 
GeneralRe: Multi doc/views and MDI Pin
Michael P Butler2-Nov-03 9:20
Michael P Butler2-Nov-03 9:20 
GeneralRe: Multi doc/views and MDI Pin
alex.barylski2-Nov-03 9:33
alex.barylski2-Nov-03 9:33 
GeneralC++ Pin
slgeorge52-Nov-03 7:39
slgeorge52-Nov-03 7:39 
GeneralRe: C++ Pin
Michael Dunn2-Nov-03 7:46
sitebuilderMichael Dunn2-Nov-03 7:46 
GeneralRe: C++ Pin
slgeorge52-Nov-03 7:48
slgeorge52-Nov-03 7:48 
GeneralRe: C++ Pin
David Crow3-Nov-03 5:35
David Crow3-Nov-03 5:35 
GeneralRe: C++ Pin
Phil Martin2-Nov-03 11:34
professionalPhil Martin2-Nov-03 11:34 
GeneralRe: C++ Pin
slgeorge52-Nov-03 12:13
slgeorge52-Nov-03 12:13 
GeneralRe: C++ Pin
Christian Graus2-Nov-03 12:17
protectorChristian Graus2-Nov-03 12:17 
GeneralRe: C++ Pin
slgeorge52-Nov-03 12:23
slgeorge52-Nov-03 12:23 
GeneralRe: C++ Pin
Christian Graus2-Nov-03 12:26
protectorChristian Graus2-Nov-03 12:26 
OK. In that case, what is happening is that debug mode keeps track of memory being used, and the assertion is telling you that you've not managed your memory properly. You won't get it just from not deleting memory, you must be walking over some memory in a way that doesn't break your program execution ( but Murphies Law says it will when your teacher looks at it ), but which the memory manager doesn't like ( probably with good reason ).

I find that often when I have a problem like this, the easiest way to solve it is to rewrite the code, and to really focus on what you're doing with memory as you do so. You'll probably find that the new version will work, and it will be quicker than going through, trying to find your mistake.


Christian

I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
GeneralRe: C++ Pin
slgeorge52-Nov-03 12:31
slgeorge52-Nov-03 12:31 
GeneralRe: C++ Pin
Phil Martin2-Nov-03 12:22
professionalPhil Martin2-Nov-03 12:22 
GeneralRe: C++ Pin
slgeorge52-Nov-03 12:32
slgeorge52-Nov-03 12:32 
GeneralRe: C++ Pin
Christian Graus2-Nov-03 12:47
protectorChristian Graus2-Nov-03 12:47 
GeneralA splitter window without a divider Pin
DimkaSPB2-Nov-03 6:52
DimkaSPB2-Nov-03 6:52 

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.