Breaking Changes
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Breaking Changes (ATL) 

Breaking changes in ATL.

Breaking changes

  • COleDateTime::operator = breaking change

    In the overload COleDateTime& operator=(const FILETIME& filetimeSrc), the FILETIME value is correctly converted and copied into this COleDateTime object. If the conversion is successful, the status of this object is set to valid; if unsuccessful, it is set to invalid. FILETIME uses Universal Coordinated Time (UTC), so if you pass a local time in the structure, your results will be converted from local file time to system time to variant time. Note that this corrected behavior is the same as in Visual C++ 6.0 and Visual C++.NET 2003 SP2. See File Times in the Platform SDK for more information.

  • CComVariant::operator == now does not consider VT_EMPTY to be equal to a variant of another type whose value is zero.

See Also

Show:
© 2016 Microsoft