Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: arrays & speed Pin
Joe Woodbury16-Jan-09 21:35
professionalJoe Woodbury16-Jan-09 21:35 
AnswerRe: arrays & speed Pin
misterMF18-Jan-09 22:51
misterMF18-Jan-09 22:51 
QuestionHeap corruption during heavy calculation in 2 threads [modified to include url] Pin
Roger Allen16-Jan-09 0:06
Roger Allen16-Jan-09 0:06 
AnswerRe: Heap corruption during heavy calculation in 2 threads Pin
Code-o-mat16-Jan-09 0:46
Code-o-mat16-Jan-09 0:46 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen16-Jan-09 2:33
Roger Allen16-Jan-09 2:33 
AnswerRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Stoltz16-Jan-09 0:54
Roger Stoltz16-Jan-09 0:54 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen16-Jan-09 2:37
Roger Allen16-Jan-09 2:37 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Stoltz16-Jan-09 3:11
Roger Stoltz16-Jan-09 3:11 
Roger Allen wrote:
Sometimes also see text saying that a block at
has been modified after being freed at
+offset



To my knowledge the only way a software keeps track of this and report it with the words you've quoted above, is if it uses the MFC framework built with new defined to DEBUG_NEW.
It could be that DEBUG_NEW is used instead of the ordinary new operator.
It would use the allocator from the release built CRT, but with extra info and boundary checks when released. You'll get more info on this from the link I provided in my previous post.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen16-Jan-09 3:15
Roger Allen16-Jan-09 3:15 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Stoltz16-Jan-09 4:33
Roger Stoltz16-Jan-09 4:33 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen16-Jan-09 5:15
Roger Allen16-Jan-09 5:15 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Stoltz16-Jan-09 9:09
Roger Stoltz16-Jan-09 9:09 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen19-Jan-09 1:23
Roger Allen19-Jan-09 1:23 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen20-Jan-09 0:02
Roger Allen20-Jan-09 0:02 
AnswerRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Stoltz20-Jan-09 1:19
Roger Stoltz20-Jan-09 1:19 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Randor 16-Jan-09 6:26
professional Randor 16-Jan-09 6:26 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Stoltz16-Jan-09 9:04
Roger Stoltz16-Jan-09 9:04 
AnswerRe: Heap corruption during heavy calculation in 2 threads Pin
Stuart Dootson16-Jan-09 1:07
professionalStuart Dootson16-Jan-09 1:07 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen16-Jan-09 2:41
Roger Allen16-Jan-09 2:41 
AnswerRe: Heap corruption during heavy calculation in 2 threads Pin
Joe Woodbury16-Jan-09 21:40
professionalJoe Woodbury16-Jan-09 21:40 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen19-Jan-09 1:20
Roger Allen19-Jan-09 1:20 
QuestionHandling right-click in rich edit control Pin
sabapathy_8015-Jan-09 23:32
sabapathy_8015-Jan-09 23:32 
AnswerRe: Handling right-click in rich edit control Pin
_AnsHUMAN_ 15-Jan-09 23:55
_AnsHUMAN_ 15-Jan-09 23:55 
AnswerRe: Handling right-click in rich edit control [modified] Pin
Iain Clarke, Warrior Programmer15-Jan-09 23:57
Iain Clarke, Warrior Programmer15-Jan-09 23:57 
AnswerRe: Handling right-click in rich edit control Pin
Jijo.Raj16-Jan-09 4:06
Jijo.Raj16-Jan-09 4:06 

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.