Sign in to follow this  

memory leaks

This topic is 3723 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am writing the mesh loading using traditional direct x mesh loading function. I also wrote the destructor while deleting the gemoetry also release textures and so on.. It seems to be alright when I debug in normal mode. But when I set the debugging level to more and check validate debugging in the direct x control panel, I found that there still have many memory leaks. Does anyone know about this problem.... Help me...

Share this post


Link to post
Share on other sites
In start menu, click on run option and write: dxcpl
On Direct3D 9 tab you'll find "Break on AllocId" write in it id of your unreleased object and when the program breaks in debug mode, it will break when you create your directx object that is later unreleased when programs exit.

Then you will know what you need to release...

Share this post


Link to post
Share on other sites

This topic is 3723 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this