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

C / C++ / MFC

 
AnswerRe: arrays & speed Pin
Stuart Dootson16-Jan-09 2:17
professionalStuart Dootson16-Jan-09 2:17 
GeneralRe: arrays & speed Pin
Luc Pattyn16-Jan-09 2:32
sitebuilderLuc Pattyn16-Jan-09 2:32 
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 
Ummm, good question Roger. Maybe I should vote it as such.... Wink | ;)

Roger Allen wrote:
I have an application which is experiencing heap corruption being reported by NTDLL.


In what way is this "reported" by NTDLL?
Two things comes to mind that I would checkout based on your statement that it doesn't happen when debug built:
  1. Is a release built library used with a debug built application (or the other way around) where memory allocations are done in one and deallocations in the other?
  2. Is something alocated with e.g. new and then deleted with free() (or the other way around)?


One other thing is that the debug built version is very forgiving and I assume you've read this article[^].
It could also be an uninitialized variable that gets initialized when debug built.


"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 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 
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 

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.