Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Catch OnLButtonDblClk in CMainFrame Pin
quuo12-Apr-13 3:04
quuo12-Apr-13 3:04 
GeneralRe: Catch OnLButtonDblClk in CMainFrame Pin
_Flaviu14-Apr-13 19:52
_Flaviu14-Apr-13 19:52 
QuestionMFC White image Problem in Win7 Pin
002comp8-Apr-13 18:14
002comp8-Apr-13 18:14 
AnswerRe: MFC White image Problem in Win7 Pin
quuo12-Apr-13 3:10
quuo12-Apr-13 3:10 
QuestionProblem with heap/OK button error Pin
Grahamfff8-Apr-13 5:52
Grahamfff8-Apr-13 5:52 
QuestionRe: Problem with heap/OK button error Pin
David Crow8-Apr-13 6:03
David Crow8-Apr-13 6:03 
AnswerRe: Problem with heap/OK button error Pin
Grahamfff8-Apr-13 6:36
Grahamfff8-Apr-13 6:36 
GeneralRe: Problem with heap/OK button error Pin
Alan Balkany8-Apr-13 8:16
Alan Balkany8-Apr-13 8:16 
It's possible the memory corruption is happening way before your OnOK handler is being called; it's just being detected there.

Calling this: http://msdn.microsoft.com/en-us/library/y1132dee%28v=vs.80%29.aspx[^]

at various times will help to localize where this is happening.

Another approach is the Binary Chop Debugging Pattern: Comment out portions of your program and rerun. If the problem remains, the bug isn't in the removed code. This debugging pattern can sometimes localize the bug orders of magnitude faster than trying to find it logically.

Visual Studio 6 had a way to invoke afxCheckMemory () after each operation, which is slow but will find the memory bug when it happens. I haven't seen this facility on later VS versions, though.
AnswerRe: Problem with heap/OK button error Pin
Stephen Hewitt8-Apr-13 9:32
Stephen Hewitt8-Apr-13 9:32 
GeneralRe: Problem with heap/OK button error Pin
Grahamfff8-Apr-13 22:46
Grahamfff8-Apr-13 22:46 
GeneralBRe: Problem with heap/OK button error Pin
Stephen Hewitt9-Apr-13 9:35
Stephen Hewitt9-Apr-13 9:35 
GeneralRe: BRe: Problem with heap/OK button error Pin
Grahamfff9-Apr-13 21:28
Grahamfff9-Apr-13 21:28 
Questionhow to include minizip code into vc++ 2010 SDI application Pin
syam0718-Apr-13 3:29
syam0718-Apr-13 3:29 
QuestionRe: how to include minizip code into vc++ 2010 SDI application Pin
David Crow8-Apr-13 5:54
David Crow8-Apr-13 5:54 
QuestionUnicode CString and fopen problem Pin
DSPCottage7-Apr-13 18:45
DSPCottage7-Apr-13 18:45 
AnswerRe: Unicode CString and fopen problem Pin
tagopi7-Apr-13 20:21
tagopi7-Apr-13 20:21 
GeneralRe: Unicode CString and fopen problem Pin
DSPCottage4-May-13 18:38
DSPCottage4-May-13 18:38 
AnswerRe: Unicode CString and fopen problem Pin
Jochen Arndt7-Apr-13 21:00
professionalJochen Arndt7-Apr-13 21:00 
GeneralRe: Unicode CString and fopen problem Pin
DSPCottage4-May-13 18:38
DSPCottage4-May-13 18:38 
Questionquestion about custom symbol in arcmap Pin
ts_chen6-Apr-13 15:40
ts_chen6-Apr-13 15:40 
QuestionIf this fires you have a mixed DEBUG/RETAIL build - now what ? Pin
Vaclav_6-Apr-13 8:34
Vaclav_6-Apr-13 8:34 
AnswerRe: If this fires you have a mixed DEBUG/RETAIL build - now what ? Pin
pasztorpisti6-Apr-13 10:23
pasztorpisti6-Apr-13 10:23 
Questionutf to ascii conversion Pin
khushboo gupta5-Apr-13 23:12
khushboo gupta5-Apr-13 23:12 
AnswerRe: utf to ascii conversion Pin
Richard MacCutchan6-Apr-13 1:47
mveRichard MacCutchan6-Apr-13 1:47 
GeneralRe: utf to ascii conversion Pin
khushboo gupta6-Apr-13 2:39
khushboo gupta6-Apr-13 2:39 

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.