Kak mojno proverit Utecku pamyati ?
Xotel bi uznat kak mojno, mojet pri pomoshi Visual Studio, mojet eshe kak , proverit utecku pamyati v napisannoi programme.
#include <crtdbg.h>
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
....
соотв. для dll (для каждого модуля)