|
-
December 19th, 2009, 06:54 AM
#1
Checking for memory leaks
Hi
im working with directx 9 and i was wondering
how do i start detecting memory leaks if there are any?
thnx
-
December 19th, 2009, 09:47 AM
#2
Re: Checking for memory leaks
you want to look for memory leaks inside dx9?
-
December 19th, 2009, 09:53 AM
#3
Re: Checking for memory leaks
basically how do i detect mainly in c++
-
December 19th, 2009, 11:04 AM
#4
Re: Checking for memory leaks
-
December 19th, 2009, 12:16 PM
#5
Re: Checking for memory leaks
-
December 19th, 2009, 12:57 PM
#6
Re: Checking for memory leaks
If you are using Visual Studio, it will tell you automagicaly where the leaks are.
-
December 19th, 2009, 01:02 PM
#7
Re: Checking for memory leaks
 Originally Posted by Skizmo
If you are using Visual Studio, it will tell you automagicaly where the leaks are.
Are you sure? I had the impression that that feature is only provided by Visual Studio Team System, not by all editions of Visual Studio.
-
December 19th, 2009, 01:06 PM
#8
Re: Checking for memory leaks
 Originally Posted by laserlight
Are you sure? I had the impression that that feature is only provided by Visual Studio Team System, not by all editions of Visual Studio.
hmm you could be correct.. not 100% sure, but I've used MFC in VS 6 and 7 and it always tells me, because MFC has build-in debug macro's for memleak detection.
-
December 19th, 2009, 01:10 PM
#9
Re: Checking for memory leaks
i'm working with vc++ 2010 beta 2 and its quite good i wonder when the final is gonna be released
-
December 21st, 2009, 07:34 AM
#10
Re: Checking for memory leaks
 Originally Posted by venomv1986
Hi
im working with directx 9 and i was wondering
how do i start detecting memory leaks if there are any?
thnx
If you don't learn about debugger then it is hard to find leaks in your program source code although the general good coding habit will be of help. MFC also provides serveral functions to detect leaks but these gain boils down to the coding and programming techniques along with logical reasoning and problem skills you need to obtain via real coding of particular problems you run into.
-
December 21st, 2009, 06:44 PM
#11
Re: Checking for memory leaks
It's there in all versions but without using MFC you have to some work yourself. See MSDN on for instance the subjects 'CRT Debugging Techniques' and 'Memory Leak Detection Enabling'
-
December 21st, 2009, 07:16 PM
#12
Re: Checking for memory leaks
Ok i'l check thnx
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|