Win32 Memory leak checker?

how would i go about checking my code for memory leaks in win32? do i just
hafta trace my code :frowning: :frowning: :(, or are there some programs that will do it for
me? The debugger in vc6 perhaps? (never used it)

thanks…

m@_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Matt Monson wrote:

how would i go about checking my code for memory leaks in win32? do
i just hafta trace my code :frowning: :frowning: :(, or are there some programs that
will do it for me? The debugger in vc6 perhaps? (never used it)

This has nothing to do with SDL, so you should be asking on somewhere
like www.gamedev.net instead.

Hint:
#include <crtdbg.h>
int currentFlags = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG);
_CrtSetDbgFlag(currentFlags | _CRTDBG_LEAK_CHECK_DF);–
Kylotan
http://pages.eidosnet.co.uk/kylotan