It may be because of the time cause, the leak 2000 code, its code style, can be called outdated (part of the COM part) is a consistent class cbasexxx {virtual yyy (); ...} Subclass to implement this method in us now Templates are implemented in a better way in the ATL you see.