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
Rage22-May-02 5:20
professionalRage22-May-02 5:20 
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 
The VC debugger is reporting memory leaks but not giving me source file name or line numbers as outlined in the following MSDN article for DumpAllObjects:

<url>http://msdn.microsoft.com/library/en-us/vccore98/HTML/_core_dumping_all_objects.asp

As you notice the example displays filename and line number where the leak occured. I have been trying all kinds of things but cannot get it to display this way (in debug window, file, or console window). I only get:

Dumping objects ->
{372970} normal block at 0x0242AEB8, 8 bytes long.
Data: < xL > 08 78 4C 10 01 00 00 00

and more like it. I have been using CMemoryState objects and _CrtSetReportMode, _CrtSetReportFile, etc. I have put all of that code in the main() function hoping it will catch all errors in all other modules.

Does anyone know how to do this and/or have an example????? TIA.
GeneralRe: Memory Leaks Pin
Chris Losinger22-May-02 4:44
professionalChris Losinger22-May-02 4:44 
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 

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.