Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalstatic transparent background Pin
LukeV22-Nov-04 7:44
LukeV22-Nov-04 7:44 
GeneralRe: static transparent background Pin
BaldwinMartin23-Nov-04 10:09
BaldwinMartin23-Nov-04 10:09 
GeneralOutput help Pin
Anonymous22-Nov-04 7:36
Anonymous22-Nov-04 7:36 
GeneralRe: Output help Pin
David Crow22-Nov-04 8:05
David Crow22-Nov-04 8:05 
GeneralRe: Output help Pin
namaskaaram22-Nov-04 18:36
namaskaaram22-Nov-04 18:36 
GeneralRe: Output help Pin
namaskaaram22-Nov-04 22:17
namaskaaram22-Nov-04 22:17 
QuestionHow can I know where a program leaks memory if it hangs after 48 hours of working? Pin
Joan M22-Nov-04 6:45
professionalJoan M22-Nov-04 6:45 
AnswerRe: How can I know where a program leaks memory if it hangs after 48 hours of working? Pin
BlackDice22-Nov-04 8:46
BlackDice22-Nov-04 8:46 
try using _CrtMemDifference() and its helper functions to determine if memory is different before and after a function call. If so, write it out to a text file, with name of function (I think you can use __function__ or something like that). maybe that will not be the best course of action, but it might get you closer. The best way I can think of would be to have a debug version running, and whenever it reports a memdifference, have the program break, so that you can see where this memory allocation is occurring at.

If I write code in my sleep, does that make me brilliant, or just a lazy programmer?

My articles

www.stillwaterexpress.com

BlackDice - the programmer formerly known as bdiamond
AnswerRe: How can I know where a program leaks memory if it hangs after 48 hours of working? Pin
floresa922-Nov-04 11:54
floresa922-Nov-04 11:54 
Generalslider Pin
teneff22-Nov-04 4:42
teneff22-Nov-04 4:42 
GeneralRe: slider Pin
David Crow22-Nov-04 4:51
David Crow22-Nov-04 4:51 
GeneralRe: slider Pin
teneff22-Nov-04 5:18
teneff22-Nov-04 5:18 
GeneralRe: slider Pin
David Crow22-Nov-04 6:12
David Crow22-Nov-04 6:12 
GeneralWinprog OPENFILENAME Pin
henry12822-Nov-04 3:22
henry12822-Nov-04 3:22 
GeneralRe: Winprog OPENFILENAME Pin
David Crow22-Nov-04 5:12
David Crow22-Nov-04 5:12 
QuestionHow to get Security Options found in MMC Pin
Yuvaraj N22-Nov-04 2:30
Yuvaraj N22-Nov-04 2:30 
Generalsmtp in mail Pin
Member 150757022-Nov-04 1:30
Member 150757022-Nov-04 1:30 
GeneralRe: smtp in mail Pin
David Crow22-Nov-04 3:16
David Crow22-Nov-04 3:16 
GeneralRe: smtp in mail Pin
BaldwinMartin23-Nov-04 10:11
BaldwinMartin23-Nov-04 10:11 
GeneralSaving a file Pin
efendy22-Nov-04 1:30
efendy22-Nov-04 1:30 
GeneralRe: Saving a file Pin
David Crow22-Nov-04 8:52
David Crow22-Nov-04 8:52 
QuestionHow to do this? Pin
pubududilena22-Nov-04 0:37
pubududilena22-Nov-04 0:37 
AnswerRe: How to do this? Pin
Steve S22-Nov-04 1:27
Steve S22-Nov-04 1:27 
GeneralGetting User Details Pin
Yuvaraj N22-Nov-04 0:23
Yuvaraj N22-Nov-04 0:23 
GeneralRe: Getting User Details Pin
ThatsAlok22-Nov-04 17:24
ThatsAlok22-Nov-04 17:24 

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.