Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: templates and libs/dlls Pin
zildjohn0110-Sep-05 13:35
zildjohn0110-Sep-05 13:35 
GeneralRe: templates and libs/dlls Pin
Nemanja Trifunovic10-Sep-05 13:44
Nemanja Trifunovic10-Sep-05 13:44 
GeneralRe: templates and libs/dlls Pin
zildjohn0110-Sep-05 15:01
zildjohn0110-Sep-05 15:01 
GeneralRe: templates and libs/dlls Pin
Chris Losinger10-Sep-05 14:30
professionalChris Losinger10-Sep-05 14:30 
Questionmemory leak question Pin
valerie999-Sep-05 9:46
valerie999-Sep-05 9:46 
AnswerRe: memory leak question Pin
David Crow9-Sep-05 10:09
David Crow9-Sep-05 10:09 
GeneralRe: memory leak question Pin
valerie999-Sep-05 10:27
valerie999-Sep-05 10:27 
AnswerRe: memory leak question Pin
QuiJohn9-Sep-05 10:15
QuiJohn9-Sep-05 10:15 
valerie99 wrote:
The memory leak report looks like this:
{404} normal block at 0x00FD8CD8, 49995 bytes long.


If you can run the program in the same exact way, you can put this:

_CrtSetBreakAlloc(404);

in the beginning of the program (where 404 is the number in brackets above) to get the program to break when it allocates the memory that doesn't get freed. I put mine at the beginning of my app's InitInstance. That might tell you something; I've found it to be a very useful tool. But like I said, it needs to be run in the exact same way so that the number doesn't change.
GeneralRe: memory leak question Pin
valerie999-Sep-05 10:32
valerie999-Sep-05 10:32 
GeneralRe: memory leak question Pin
Chris Losinger9-Sep-05 10:49
professionalChris Losinger9-Sep-05 10:49 
AnswerRe: memory leak question Pin
PJ Arends9-Sep-05 11:07
professionalPJ Arends9-Sep-05 11:07 
Generalyeah! The superstar!!! Pin
valerie999-Sep-05 11:48
valerie999-Sep-05 11:48 
GeneralRe: yeah! The superstar!!! Pin
Jack Puppy9-Sep-05 13:50
Jack Puppy9-Sep-05 13:50 
QuestionAI and physics algorithms Pin
bouli9-Sep-05 9:26
bouli9-Sep-05 9:26 
AnswerRe: AI and physics algorithms Pin
Anonymous9-Sep-05 20:19
Anonymous9-Sep-05 20:19 
AnswerRe: AI and physics algorithms Pin
John R. Shaw10-Sep-05 10:46
John R. Shaw10-Sep-05 10:46 
Questionhelp on using Matlab function randn('state', 0) in VC++ Pin
chenyuwu9-Sep-05 9:16
chenyuwu9-Sep-05 9:16 
QuestionMFC and MySql Pin
Ming Luo9-Sep-05 9:10
Ming Luo9-Sep-05 9:10 
AnswerRe: MFC and MySql Pin
David Crow9-Sep-05 10:03
David Crow9-Sep-05 10:03 
GeneralRe: MFC and MySql Pin
Ming Luo9-Sep-05 10:52
Ming Luo9-Sep-05 10:52 
QuestionCListView SetInfoTip Pin
Stache9-Sep-05 9:08
Stache9-Sep-05 9:08 
AnswerRe: CListView SetInfoTip Pin
Anonymous9-Sep-05 23:38
Anonymous9-Sep-05 23:38 
GeneralRe: CListView SetInfoTip Pin
Stache10-Sep-05 5:40
Stache10-Sep-05 5:40 
Questionreading a .rc file Pin
yyatskar9-Sep-05 8:38
yyatskar9-Sep-05 8:38 
AnswerRe: reading a .rc file Pin
David Crow9-Sep-05 8:48
David Crow9-Sep-05 8:48 

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.