#246 CImageList no destructor

v1.0 (example)
closed-fixed
GDI (17)
5
2014-02-24
2011-07-03
Anonymous
No

if don't call Destroy(), gdi leak.

Discussion

  • Here it is - changed CImageList to CImageListT<t_bManaged> and added typedefs for CImageList and CImageListManaged.

    Unfortunately, these names don't follow naming convention of the usual managed/unmanaged resource classes (NameHandle, Name) to eliminated breaking changes that would be severe. Those breaking changes would introduce silent runtime problems that couldn't be detected at compile time.

    Commit #502, atlctrls.h

     


Anonymous


Cancel   Add attachments