Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Heap corruption during heavy calculation in 2 threads Pin
Roger Allen16-Jan-09 2:37
Roger Allen16-Jan-09 2:37 
Roger Stoltz wrote:
In what way is this "reported" by NTDLL?

The message reported is usually

Heap corruption detected at


Sometimes also see text saying that a block at
has been modified after being freed at
+offset

Roger Stoltz wrote:
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?

The entire application is built using release versions and libraries of everything. I have used dependency walker to check all the included DLLs/dependencies and these are all release versions of the CRT etc

Roger Stoltz wrote:
Is something alocated with e.g. new and then deleted with free() (or the other way around)?

All code uses new/delete or delete [] as appropriate.

Roger Stoltz wrote:
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.

I'll take a look at the article, thanks for the link Big Grin | :-D

If you vote me down, my score will only get lower

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

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.