Breaking Changes
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Breaking Changes (MFC) 

Breaking changes in MFC.

Breaking Changes

The plRequestNumber parameter to AfxIsMemoryBlock will now be initialized to zero if it does not represent a currently active memory block.

CString operators << and >> that were global in afxstr.h have been moved to be a member operator in CArchive. The new operators are:

template< typename BaseType, class StringTraits >
CArchive& operator<<(const ATL::CStringT<BaseType, StringTraits>& str)
template< typename BaseType, class StringTraits >
CArchive& operator>>(ATL::CStringT<BaseType, StringTraits>& str)

This change breaks user code in the following scenarios:

See Also

© 2015 Microsoft