From: RAN on 29 Jan 2010 01:21 Hi, I use Visual Studio 2008 version 9.21022.8 RTM I have created a ActiveX control project using App-wizard. (Only what it generated, no programming done !) I have created a CDialog project using App-wizard. (nothing more) I have put this ActiveX control on the dialog an created an instance of this control in the CDialog class. I have not done anything else than that. If i run the ActiveX project and then close the dialog which shows the activex control i get a memory leak dump: Info: AfxDllCanUnloadNow returning S_OK Detected memory leaks! Dumping objects -> f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {230} normal block at 0x00349B38, 124 bytes long. Data: < 4 > 00 00 00 00 00 00 00 00 00 00 00 00 F8 9A 34 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occmgr.cpp(788) : {229} normal block at 0x00349AF8, 4 bytes long. Data: <T[`x> 54 5B 60 78 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {211} normal block at 0x00349188, 26 bytes long. Data: <,> x > 2C 3E A4 78 09 00 00 00 09 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {210} normal block at 0x00349138, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 {203} client block at 0x00347E60, subtype c0, 64 bytes long. a CDynLinkLibrary object at $00347E60, 64 bytes long a CDynLinkLibrary object at $00347E60, 64 bytes long f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {198} normal block at 0x00347CD8, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {197} normal block at 0x00347C80, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {196} normal block at 0x00347C20, 34 bytes long. Data: <,> x > 2C 3E A4 78 11 00 00 00 11 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {195} normal block at 0x00347BC8, 28 bytes long. Data: <,> x > 2C 3E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {194} normal block at 0x00347B70, 24 bytes long. Data: <,> x > 2C 3E A4 78 07 00 00 00 07 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {193} normal block at 0x00347B18, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {192} normal block at 0x00347AB8, 31 bytes long. Data: <,> x > 2C 3E A4 78 0E 00 00 00 0E 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {191} normal block at 0x00347A58, 32 bytes long. Data: <,> x > 2C 3E A4 78 0F 00 00 00 0F 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {190} normal block at 0x003479F8, 29 bytes long. Data: <,> x > 2C 3E A4 78 0C 00 00 00 0C 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {189} normal block at 0x00346BD8, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {188} normal block at 0x00346B80, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {187} normal block at 0x00346B20, 33 bytes long. Data: <,> x > 2C 3E A4 78 10 00 00 00 10 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {186} normal block at 0x00346AD0, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {185} normal block at 0x00346A80, 20 bytes long. Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {184} normal block at 0x00346A30, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {182} normal block at 0x00347568, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {181} normal block at 0x00347518, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {180} normal block at 0x003474C0, 28 bytes long. Data: <,> x > 2C 3E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {179} normal block at 0x00347470, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {178} normal block at 0x00347410, 30 bytes long. Data: <,> x > 2C 3E A4 78 0D 00 00 00 0D 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {177} normal block at 0x003473B8, 27 bytes long. Data: <,> x > 2C 3E A4 78 0A 00 00 00 0A 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {176} normal block at 0x00347368, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {175} normal block at 0x00347318, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {174} normal block at 0x003472C0, 27 bytes long. Data: <,> x > 2C 3E A4 78 0A 00 00 00 0A 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {173} normal block at 0x00347270, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {172} normal block at 0x00347220, 20 bytes long. Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {171} normal block at 0x003471D0, 20 bytes long. Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {170} normal block at 0x00347178, 26 bytes long. Data: <,> x > 2C 3E A4 78 09 00 00 00 09 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {169} normal block at 0x00347128, 20 bytes long. Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {168} normal block at 0x003470D8, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {167} normal block at 0x00347088, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {166} normal block at 0x00347038, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {165} normal block at 0x00346FE8, 20 bytes long. Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {164} normal block at 0x00346F98, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {163} normal block at 0x00346F48, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {162} normal block at 0x00346EF8, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {161} normal block at 0x00346EA8, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {160} normal block at 0x00346E40, 38 bytes long. Data: <,> x > 2C 3E A4 78 15 00 00 00 15 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {159} normal block at 0x00346DE0, 31 bytes long. Data: <,> x > 2C 3E A4 78 0E 00 00 00 0E 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {158} normal block at 0x00346D80, 29 bytes long. Data: <,> x > 2C 3E A4 78 0C 00 00 00 0C 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {157} normal block at 0x00346D28, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {156} normal block at 0x00346CD0, 24 bytes long. Data: <,> x > 2C 3E A4 78 07 00 00 00 07 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {155} normal block at 0x00346C70, 30 bytes long. Data: <,> x > 2C 3E A4 78 0D 00 00 00 0D 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {154} normal block at 0x00345CB8, 33 bytes long. Data: <,> x > 2C 3E A4 78 10 00 00 00 10 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {153} normal block at 0x00345C50, 38 bytes long. Data: <,> x > 2C 3E A4 78 15 00 00 00 15 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {152} normal block at 0x00345C00, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {151} normal block at 0x00346360, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {149} normal block at 0x00346300, 32 bytes long. Data: <,> x > 2C 3E A4 78 0F 00 00 00 0F 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {148} normal block at 0x003462B0, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {73} normal block at 0x003461C0, 24 bytes long. Data: <,> x > 2C 3E A4 78 07 00 00 00 07 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {72} normal block at 0x00346168, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {71} normal block at 0x00346108, 30 bytes long. Data: <,> x > 2C 3E A4 78 0D 00 00 00 0D 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {70} normal block at 0x003460B0, 25 bytes long. Data: <,> x > 2C 3E A4 78 08 00 00 00 08 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {69} normal block at 0x00346058, 23 bytes long. Data: <,> x > 2C 3E A4 78 06 00 00 00 06 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {68} normal block at 0x00346008, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {67} normal block at 0x00345FA8, 36 bytes long. Data: <,> x > 2C 3E A4 78 13 00 00 00 13 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {66} normal block at 0x00345F58, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {65} normal block at 0x00345EF8, 32 bytes long. Data: <,> x > 2C 3E A4 78 0F 00 00 00 0F 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {64} normal block at 0x00345EA0, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {63} normal block at 0x00345E50, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {62} normal block at 0x00345DF8, 22 bytes long. Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {61} normal block at 0x00345D98, 35 bytes long. Data: <,> x > 2C 3E A4 78 12 00 00 00 12 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60} normal block at 0x00345D40, 25 bytes long. Data: <,> x > 2C 3E A4 78 08 00 00 00 08 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {59} normal block at 0x003432A8, 19 bytes long. Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 00 f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {58} normal block at 0x00343250, 26 bytes long. Data: <,> x > 2C 3E A4 78 09 00 00 00 09 00 00 00 01 00 00 00 Object dump complete. 'TMT.exe': Unloaded 'C:\Documents and Settings\Dell\Mijn documenten \Visual Studio 2008\Projects\TM\TM ActiveX\Debug\TM.ocx' 'TMT.exe': Unloaded 'C:\WINDOWS\WinSxS \x86_Microsoft.VC90.DebugMFC_1fc8b3b9a1e18e3b_9.0.30411.0_x- ww_cb0dd059\mfc90ud.dll' The program '[2268] TMT.exe: Native' has exited with code 2 (0x2). Why do i get this memory leaks and how do i get rid of them ? My projects are here: http://www.4shared.com/file/210264628/4333ddf6/TM_online.html
From: RAN on 29 Jan 2010 02:31 On 29 jan, 07:21, RAN <nijenh...(a)wish.nl> wrote: > Hi, > > I use Visual Studio 2008 version 9.21022.8 RTM > I have created a ActiveX control project using App-wizard. (Only what > it generated, no programming done !) > I have created a CDialog project using App-wizard. (nothing more) > I have put this ActiveX control on the dialog an created an instance > of this control in the CDialog class. > I have not done anything else than that. > If i run the ActiveX project and then close the dialog which shows the > activex control i get a memory leak dump: > > Info: AfxDllCanUnloadNow returning S_OK > Detected memory leaks! > Dumping objects -> > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {230} normal > block at 0x00349B38, 124 bytes long. > Data: < 4 > 00 00 00 00 00 00 00 00 00 00 00 00 F8 9A 34 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occmgr.cpp(788) : {229} > normal block at 0x00349AF8, 4 bytes long. > Data: <T[`x> 54 5B 60 78 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {211} > normal block at 0x00349188, 26 bytes long. > Data: <,> x > 2C 3E A4 78 09 00 00 00 09 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {210} > normal block at 0x00349138, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > {203} client block at 0x00347E60, subtype c0, 64 bytes long. > a CDynLinkLibrary object at $00347E60, 64 bytes long > a CDynLinkLibrary object at $00347E60, 64 bytes long > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {198} > normal block at 0x00347CD8, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {197} > normal block at 0x00347C80, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {196} > normal block at 0x00347C20, 34 bytes long. > Data: <,> x > 2C 3E A4 78 11 00 00 00 11 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {195} > normal block at 0x00347BC8, 28 bytes long. > Data: <,> x > 2C 3E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {194} > normal block at 0x00347B70, 24 bytes long. > Data: <,> x > 2C 3E A4 78 07 00 00 00 07 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {193} > normal block at 0x00347B18, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {192} > normal block at 0x00347AB8, 31 bytes long. > Data: <,> x > 2C 3E A4 78 0E 00 00 00 0E 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {191} > normal block at 0x00347A58, 32 bytes long. > Data: <,> x > 2C 3E A4 78 0F 00 00 00 0F 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {190} > normal block at 0x003479F8, 29 bytes long. > Data: <,> x > 2C 3E A4 78 0C 00 00 00 0C 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {189} > normal block at 0x00346BD8, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {188} > normal block at 0x00346B80, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {187} > normal block at 0x00346B20, 33 bytes long. > Data: <,> x > 2C 3E A4 78 10 00 00 00 10 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {186} > normal block at 0x00346AD0, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {185} > normal block at 0x00346A80, 20 bytes long. > Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {184} > normal block at 0x00346A30, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {182} > normal block at 0x00347568, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {181} > normal block at 0x00347518, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {180} > normal block at 0x003474C0, 28 bytes long. > Data: <,> x > 2C 3E A4 78 0B 00 00 00 0B 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {179} > normal block at 0x00347470, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {178} > normal block at 0x00347410, 30 bytes long. > Data: <,> x > 2C 3E A4 78 0D 00 00 00 0D 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {177} > normal block at 0x003473B8, 27 bytes long. > Data: <,> x > 2C 3E A4 78 0A 00 00 00 0A 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {176} > normal block at 0x00347368, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {175} > normal block at 0x00347318, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {174} > normal block at 0x003472C0, 27 bytes long. > Data: <,> x > 2C 3E A4 78 0A 00 00 00 0A 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {173} > normal block at 0x00347270, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {172} > normal block at 0x00347220, 20 bytes long. > Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {171} > normal block at 0x003471D0, 20 bytes long. > Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {170} > normal block at 0x00347178, 26 bytes long. > Data: <,> x > 2C 3E A4 78 09 00 00 00 09 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {169} > normal block at 0x00347128, 20 bytes long. > Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {168} > normal block at 0x003470D8, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {167} > normal block at 0x00347088, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {166} > normal block at 0x00347038, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {165} > normal block at 0x00346FE8, 20 bytes long. > Data: <,> x > 2C 3E A4 78 03 00 00 00 03 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {164} > normal block at 0x00346F98, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {163} > normal block at 0x00346F48, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {162} > normal block at 0x00346EF8, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {161} > normal block at 0x00346EA8, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {160} > normal block at 0x00346E40, 38 bytes long. > Data: <,> x > 2C 3E A4 78 15 00 00 00 15 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {159} > normal block at 0x00346DE0, 31 bytes long. > Data: <,> x > 2C 3E A4 78 0E 00 00 00 0E 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {158} > normal block at 0x00346D80, 29 bytes long. > Data: <,> x > 2C 3E A4 78 0C 00 00 00 0C 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {157} > normal block at 0x00346D28, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {156} > normal block at 0x00346CD0, 24 bytes long. > Data: <,> x > 2C 3E A4 78 07 00 00 00 07 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {155} > normal block at 0x00346C70, 30 bytes long. > Data: <,> x > 2C 3E A4 78 0D 00 00 00 0D 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {154} > normal block at 0x00345CB8, 33 bytes long. > Data: <,> x > 2C 3E A4 78 10 00 00 00 10 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {153} > normal block at 0x00345C50, 38 bytes long. > Data: <,> x > 2C 3E A4 78 15 00 00 00 15 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {152} > normal block at 0x00345C00, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {151} > normal block at 0x00346360, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {149} > normal block at 0x00346300, 32 bytes long. > Data: <,> x > 2C 3E A4 78 0F 00 00 00 0F 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {148} > normal block at 0x003462B0, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {73} > normal block at 0x003461C0, 24 bytes long. > Data: <,> x > 2C 3E A4 78 07 00 00 00 07 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {72} > normal block at 0x00346168, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {71} > normal block at 0x00346108, 30 bytes long. > Data: <,> x > 2C 3E A4 78 0D 00 00 00 0D 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {70} > normal block at 0x003460B0, 25 bytes long. > Data: <,> x > 2C 3E A4 78 08 00 00 00 08 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {69} > normal block at 0x00346058, 23 bytes long. > Data: <,> x > 2C 3E A4 78 06 00 00 00 06 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {68} > normal block at 0x00346008, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {67} > normal block at 0x00345FA8, 36 bytes long. > Data: <,> x > 2C 3E A4 78 13 00 00 00 13 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {66} > normal block at 0x00345F58, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {65} > normal block at 0x00345EF8, 32 bytes long. > Data: <,> x > 2C 3E A4 78 0F 00 00 00 0F 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {64} > normal block at 0x00345EA0, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {63} > normal block at 0x00345E50, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {62} > normal block at 0x00345DF8, 22 bytes long. > Data: <,> x > 2C 3E A4 78 05 00 00 00 05 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {61} > normal block at 0x00345D98, 35 bytes long. > Data: <,> x > 2C 3E A4 78 12 00 00 00 12 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {60} > normal block at 0x00345D40, 25 bytes long. > Data: <,> x > 2C 3E A4 78 08 00 00 00 08 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {59} > normal block at 0x003432A8, 19 bytes long. > Data: <,> x > 2C 3E A4 78 02 00 00 00 02 00 00 00 01 00 00 > 00 > f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {58} > normal block at 0x00343250, 26 bytes long. > Data: <,> x > 2C 3E A4 78 09 00 00 00 09 00 00 00 01 00 00 > 00 > Object dump complete. > 'TMT.exe': Unloaded 'C:\Documents and Settings\Dell\Mijn documenten > \Visual Studio 2008\Projects\TM\TM ActiveX\Debug\TM.ocx' > 'TMT.exe': Unloaded 'C:\WINDOWS\WinSxS > \x86_Microsoft.VC90.DebugMFC_1fc8b3b9a1e18e3b_9.0.30411.0_x- > ww_cb0dd059\mfc90ud.dll' > The program '[2268] TMT.exe: Native' has exited with code 2 (0x2). > > Why do i get this memory leaks and how do i get rid of them ? > > My projects are here:http://www.4shared.com/file/210264628/4333ddf6/TM_online.html Hi, I noticed that if i generate a CDialog project 'using Unicode libraries' i do NOT get this memory dump. The previous CDialog project i generated i unchecked this 'using Unicode libraries' option which resulted in the memory dump ?
|
Pages: 1 Prev: Next "available" File/Folder Name,... Next: Get/set active property page |