Click here to Skip to main content
16,016,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog Box Precise Location. Pin
Carlos Antollini22-May-02 5:32
Carlos Antollini22-May-02 5:32 
GeneralRe: Dialog Box Precise Location. Pin
Rage22-May-02 4:58
professionalRage22-May-02 4:58 
GeneralRe: Dialog Box Precise Location. Pin
Renjith Ramachandran22-May-02 7:11
Renjith Ramachandran22-May-02 7:11 
GeneralRe: Dialog Box Precise Location. Pin
Michael Dunn22-May-02 19:13
sitebuilderMichael Dunn22-May-02 19:13 
GeneralRe: Dialog Box Precise Location. Pin
25-May-02 0:49
suss25-May-02 0:49 
GeneralDeveloping for Exchange 2000 Pin
Michael P Butler22-May-02 4:38
Michael P Butler22-May-02 4:38 
GeneralMemory Leaks Pin
JohnnyG22-May-02 4:30
JohnnyG22-May-02 4:30 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 4:44
professionalChris Losinger22-May-02 4:44 
see that first number? that's the allocation number.

put this at the very beginning of your app:

_crtBreakAlloc = 372970;

you'll get an assertion when that allocation happens. back up the call stack and there you go... the only trick is to make sure you run the app exactly the same way - since you're breaking on the Nth memory allocation. if you change the allocation order even by one, you'll be lost.

-c



Cheap oil. It's worth it!

GeneralRe: Memory Leaks Pin
Tim Smith22-May-02 4:49
Tim Smith22-May-02 4:49 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 4:51
professionalChris Losinger22-May-02 4:51 
GeneralRe: Memory Leaks Pin
Joao Vaz22-May-02 5:09
Joao Vaz22-May-02 5:09 
GeneralRe: Memory Leaks Pin
Dana Holt22-May-02 18:30
Dana Holt22-May-02 18:30 
GeneralRe: Memory Leaks Pin
Chris Losinger23-May-02 0:55
professionalChris Losinger23-May-02 0:55 
GeneralRe: Memory Leaks Pin
JohnnyG22-May-02 5:11
JohnnyG22-May-02 5:11 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 9:07
professionalChris Losinger22-May-02 9:07 
GeneralRe: Memory Leaks Pin
JohnnyG22-May-02 9:19
JohnnyG22-May-02 9:19 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 9:27
professionalChris Losinger22-May-02 9:27 
GeneralRe: Memory Leaks Pin
JohnnyG22-May-02 10:00
JohnnyG22-May-02 10:00 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 10:49
professionalChris Losinger22-May-02 10:49 
GeneralRe: Memory Leaks Pin
JohnnyG22-May-02 10:56
JohnnyG22-May-02 10:56 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 5:12
professionalChris Losinger22-May-02 5:12 
GeneralRe: Memory Leaks Pin
JohnnyG22-May-02 5:19
JohnnyG22-May-02 5:19 
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 5:21
professionalChris Losinger22-May-02 5:21 
GeneralRe: Memory Leaks Pin
PJ Arends22-May-02 8:45
professionalPJ Arends22-May-02 8:45 
GeneralRe: Memory Leaks Pin
jbarton22-May-02 6:57
jbarton22-May-02 6: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.