The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at ATL String and Text Classes.
These classes provide support for strings and text string conversions.
CA2AEX This class is used by the string conversion macros
CA2TEXandCT2AEX, and the typedef CA2A.CA2CAEX This class is used by string conversion macros
CA2CTEXandCT2CAEX, and the typedef CA2CA.CA2WEX This class is used by the string conversion macros
CA2TEX,CA2CTEX,CT2WEX, andCT2CWEX, and the typedef CA2W.CW2AEX This class is used by the string conversion macros
CT2AEX,CW2TEX,CW2CTEX, andCT2CAEX, and the typedef CW2A.CW2CWEX This class is used by the string conversion macros
CW2CTEXandCT2CWEX, and the typedef CW2CW.CW2WEX This class is used by the string conversion macros
CW2TEXandCT2WEX, and the typedefCW2W.CComBSTR This class is a wrapper for
BSTRs._U_STRINGorID This argument adapter class allows either resource names (
LPCTSTRs) or resource IDs (UINTs) to be passed to a function without requiring the caller to convert the ID to a string using the MAKEINTRESOURCE macro.