String and Text Classes
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
CA2TEX
andCT2AEX
, and the typedef CA2A.CA2CAEX This class is used by string conversion macros
CA2CTEX
andCT2CAEX
, 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
CW2CTEX
andCT2CWEX
, and the typedef CW2CW.CW2WEX This class is used by the string conversion macros
CW2TEX
andCT2WEX
, and the typedefCW2W
.CComBSTR This class is a wrapper for
BSTR
s._U_STRINGorID This argument adapter class allows either resource names (
LPCTSTR
s) 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.