Click here to Skip to main content
16,008,075 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Remove - Untitled Pin
Michael Dunn17-Dec-01 14:57
sitebuilderMichael Dunn17-Dec-01 14:57 
GeneralPicture on Dialog Box Pin
17-Dec-01 13:50
suss17-Dec-01 13:50 
GeneralRe: Picture on Dialog Box Pin
Christian Graus17-Dec-01 13:54
protectorChristian Graus17-Dec-01 13:54 
GeneralOpen URL in a new window Pin
17-Dec-01 13:04
suss17-Dec-01 13:04 
GeneralRe: Open URL in a new window Pin
Nish Nishant17-Dec-01 16:30
sitebuilderNish Nishant17-Dec-01 16:30 
GeneralAvoiding automatic resizing of MDIChild window Pin
Prashant Tiwari17-Dec-01 11:55
Prashant Tiwari17-Dec-01 11:55 
Generalpotential memory problem but free source code Pin
Kuniva17-Dec-01 10:51
Kuniva17-Dec-01 10:51 
GeneralRe: potential memory problem but free source code Pin
Derek Waters17-Dec-01 11:20
Derek Waters17-Dec-01 11:20 
In Visual Studio, you can get some elementary memory leak tracking using your Debug build. When you finish running your program in the debugger, check out the "Debug" output window. At the bottom, if you have memory leaks, it should spew out a whole pile of stuff looking like:

Detected memory leaks!
Dumping objects ->
{23103} normal block at 0x017C96D0, 36 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
{23102} normal block at 0x017C97B0, 216 bytes long.
 Data: <                > FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00 
Object dump complete.


That means you've got memory leaks. To find out where they're occurring, you can double-click on them and Visual Studio *may* take you to the "new" statement that caused the problem. If not, I recommend you to a search on _crtBreakAlloc for a bit more info on how to track down the problems.

Other than that, if you're willing to pay money (and quite a bit, I think) you can use BoundsChecker (just search CP for it - it gets mentioned all the time).


------------------------
Derek Waters
derek@lj-oz.com
GeneralRe: potential memory problem but free source code Pin
Kuniva18-Dec-01 0:11
Kuniva18-Dec-01 0:11 
GeneralDirectX and MFC Pin
Matt Newman17-Dec-01 10:34
Matt Newman17-Dec-01 10:34 
Questionvisual C++.Net == Visual C++ 7.0 ? Pin
17-Dec-01 10:31
suss17-Dec-01 10:31 
AnswerRe: visual C++.Net == Visual C++ 7.0 ? Pin
Matt Newman17-Dec-01 10:35
Matt Newman17-Dec-01 10:35 
GeneralRe: visual C++.Net == Visual C++ 7.0 ? Pin
Kuniva17-Dec-01 10:53
Kuniva17-Dec-01 10:53 
AnswerRe: visual C++.Net == Visual C++ 7.0 ? Pin
Nemanja Trifunovic17-Dec-01 10:52
Nemanja Trifunovic17-Dec-01 10:52 
QuestionCan I play MPEG in Video for Windows? Pin
JerzyPeter17-Dec-01 10:22
JerzyPeter17-Dec-01 10:22 
Generaltypecasting CString to LPSTR Pin
Dave K Dosanjh17-Dec-01 10:02
Dave K Dosanjh17-Dec-01 10:02 
GeneralRe: typecasting CString to LPSTR Pin
Dave Goodman17-Dec-01 10:20
Dave Goodman17-Dec-01 10:20 
GeneralRe: typecasting CString to LPSTR Pin
Michael Dunn17-Dec-01 11:01
sitebuilderMichael Dunn17-Dec-01 11:01 
GeneralRe: typecasting CString to LPSTR Pin
Navin17-Dec-01 14:08
Navin17-Dec-01 14:08 
GeneralAdd User Dialog Pin
Ed K17-Dec-01 9:49
Ed K17-Dec-01 9:49 
GeneralCurious Pin
17-Dec-01 9:07
suss17-Dec-01 9:07 
GeneralRe: Curious Pin
Joaquín M López Muñoz17-Dec-01 9:19
Joaquín M López Muñoz17-Dec-01 9:19 
GeneralRe: Curious Pin
17-Dec-01 9:22
suss17-Dec-01 9:22 
GeneralRe: Curious WHOOPS Pin
17-Dec-01 9:30
suss17-Dec-01 9:30 
GeneralRe: Curious WHOOPS Pin
Joaquín M López Muñoz17-Dec-01 9:45
Joaquín M López Muñoz17-Dec-01 9: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.