Il mio software funziona ma quando chiudo la mia Dialog ho perdite di memoria, questo è il mio output:
Detected memory leaks!
Dumping objects ->
{1536559} normal block at 0x2153B718, 36 bytes long.
Data: < @ PC E 0H > E0 40 DB 00 50 43 DB 00 C0 45 DB 00 30 48 DB 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536544} normal block at 0x1DFE7650, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
c:\dev2015\lib\elidraw\vectordraw.cpp(148) : {1536543} client block at 0x122C69B0, subtype c0, 8 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CBitmap object at $122C69B0, 8 bytes long
c:\dev2015\lib\elidraw\vectordraw.cpp(138) : {1536542} client block at 0x1AA518D0, subtype c0, 16 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CDC object at $1AA518D0, 16 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536541} normal block at 0x1DFE70D0, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
c:\dev2015\lib\elidraw\vectordraw.cpp(148) : {1536540} client block at 0x122C6898, subtype c0, 8 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CBitmap object at $122C6898, 8 bytes long
c:\dev2015\lib\elidraw\vectordraw.cpp(138) : {1536539} client block at 0x1AA51A90, subtype c0, 16 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CDC object at $1AA51A90, 16 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536538} normal block at 0x1DFE7B20, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
c:\dev2015\lib\elidraw\vectordraw.cpp(148) : {1536537} client block at 0x122C6EB8, subtype c0, 8 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CBitmap object at $122C6EB8, 8 bytes long
c:\dev2015\lib\elidraw\vectordraw.cpp(138) : {1536536} client block at 0x1AA51410, subtype c0, 16 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CDC object at $1AA51410, 16 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536535} normal block at 0x1DFE77B0, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
c:\dev2015\lib\elidraw\vectordraw.cpp(148) : {1536534} client block at 0x122C6C88, subtype c0, 8 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CBitmap object at $122C6C88, 8 bytes long
c:\dev2015\lib\elidraw\vectordraw.cpp(138) : {1536533} client block at 0x1AA51390, subtype c0, 16 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CDC object at $1AA51390, 16 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536532} normal block at 0x1DFE7A70, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
c:\dev2015\lib\elidraw\vectordraw.cpp(148) : {1536531} client block at 0x122C6CC0, subtype c0, 8 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CBitmap object at $122C6CC0, 8 bytes long
c:\dev2015\lib\elidraw\vectordraw.cpp(138) : {1536530} client block at 0x1AA51350, subtype c0, 16 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CDC object at $1AA51350, 16 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536529} normal block at 0x1DFE74F0, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
c:\dev2015\lib\elidraw\vectordraw.cpp(148) : {1536528} client block at 0x122C6BA8, subtype c0, 8 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CBitmap object at $122C6BA8, 8 bytes long
c:\dev2015\lib\elidraw\vectordraw.cpp(138) : {1536527} client block at 0x1AA51710, subtype c0, 16 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CDC object at $1AA51710, 16 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {1536526} normal block at 0x1DFE69F0, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
queste sono solo alcune righe perché ne ho molte altre, c'è un modo per capire quale sia la riga che causa cio? nel frattempo sto facendo la delete per tutti i miei puntatori