Tuesday, 25. November 2003
swf -> atl -> mfc -> memory leak
krol, 15:42h
Had to do a Player that plays swf and mpeg2 but my old ActiveX hosting code didn’t compile with the VC7 ATL. And, surprisingly, I end up using MFC Dialog’s for my first time ever. Than I catch myself doing:
cDC->FillRect(&strpaint.rcPaint, new CBrush(RGB(0,0,0));
While it is wonderful in Managed Code – Yep you have a memory leak here ;-)
cDC->FillRect(&strpaint.rcPaint, new CBrush(RGB(0,0,0));
While it is wonderful in Managed Code – Yep you have a memory leak here ;-)
... comment