Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmaintain logfile of the accessed files Pin
RabiaAslam28-Dec-05 3:09
RabiaAslam28-Dec-05 3:09 
AnswerRe: maintain logfile of the accessed files Pin
vipinasda28-Dec-05 3:41
vipinasda28-Dec-05 3:41 
AnswerRe: maintain logfile of the accessed files Pin
David Crow28-Dec-05 5:36
David Crow28-Dec-05 5:36 
AnswerRe: maintain logfile of the accessed files Pin
basementman28-Dec-05 5:38
basementman28-Dec-05 5:38 
Questiondetecting memory leaks? Pin
9ine28-Dec-05 1:39
9ine28-Dec-05 1:39 
AnswerRe: detecting memory leaks? Pin
Axter28-Dec-05 2:27
professionalAxter28-Dec-05 2:27 
GeneralRe: detecting memory leaks? Pin
9ine28-Dec-05 4:50
9ine28-Dec-05 4:50 
GeneralRe: detecting memory leaks? Pin
Axter28-Dec-05 4:59
professionalAxter28-Dec-05 4:59 
In your sGenDlg.cpp file, the leaktracker.h must be the LAST included header.
If you include it before any other headers, you'll get compile errors, or runtime errors.
This program was originally developed using VS 2003, and then ported to GNU, Borland, and VC++ 6.0.
So it should definitely work on VS 2003.

FYI:
If it doesn't produce a log file, then either it was not compiled in DEBUG moder, or there were no memory leaks.
Since you didn't get compile errors the first time, I must assume it was not compiled in DEBUG mode.

If you don't see the following message when you compile, then the leak tracking code is not getting included.
**************************************************************************************
Note: Including leaktracker implementation... DO NOT USE THIS BUILD FOR PRODUCTION!!!
**************************************************************************************

If you wish to include the leak tracking code in the release version of your program you could do so by defining the following macro before including the header:
#define DEBUG_VERSION_



Top ten member of C++ Expert Exchange.
http://www.experts-exchange.com/Cplusplus

-- modified at 10:59 Wednesday 28th December, 2005
GeneralRe: detecting memory leaks? Pin
9ine28-Dec-05 23:47
9ine28-Dec-05 23:47 
GeneralRe: detecting memory leaks? Pin
Axter29-Dec-05 1:05
professionalAxter29-Dec-05 1:05 
GeneralRe: detecting memory leaks? Pin
9ine29-Dec-05 5:31
9ine29-Dec-05 5:31 
AnswerRe: detecting memory leaks? Pin
vipinasda28-Dec-05 3:38
vipinasda28-Dec-05 3:38 
GeneralRe: detecting memory leaks? Pin
Axter28-Dec-05 5:02
professionalAxter28-Dec-05 5:02 
GeneralRe: detecting memory leaks? Pin
vipinasda28-Dec-05 6:15
vipinasda28-Dec-05 6:15 
AnswerRe: detecting memory leaks? Pin
Prakash Nadar28-Dec-05 5:30
Prakash Nadar28-Dec-05 5:30 
AnswerRe: detecting memory leaks? Pin
MF28-Dec-05 15:19
MF28-Dec-05 15:19 
QuestionConverting int to char Pin
RedDragon2k28-Dec-05 1:17
RedDragon2k28-Dec-05 1:17 
AnswerRe: Converting int to char Pin
sunit528-Dec-05 1:29
sunit528-Dec-05 1:29 
GeneralRe: Converting int to char Pin
RedDragon2k28-Dec-05 1:47
RedDragon2k28-Dec-05 1:47 
GeneralRe: Converting int to char Pin
sunit528-Dec-05 1:58
sunit528-Dec-05 1:58 
GeneralRe: Converting int to char Pin
vikas amin28-Dec-05 1:58
vikas amin28-Dec-05 1:58 
GeneralRe: Converting int to char Pin
RedDragon2k28-Dec-05 2:05
RedDragon2k28-Dec-05 2:05 
AnswerRe: Converting int to char Pin
David Crow28-Dec-05 5:40
David Crow28-Dec-05 5:40 
AnswerRe: Converting int to char Pin
Gary R. Wheeler28-Dec-05 5:54
Gary R. Wheeler28-Dec-05 5:54 
QuestionQuerying CSV file Pin
Rajesh R Subramanian28-Dec-05 0:42
professionalRajesh R Subramanian28-Dec-05 0:42 

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.