Udostępnij za pośrednictwem


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 and CT2AEX, and the typedef CA2A.

  • CA2CAEX This class is used by string conversion macros CA2CTEX and CT2CAEX, and the typedef CA2CA.

  • CA2WEX This class is used by the string conversion macros CA2TEX, CA2CTEX, CT2WEX, and CT2CWEX, and the typedef CA2W.

  • CW2AEX This class is used by the string conversion macros CT2AEX, CW2TEX, CW2CTEX, and CT2CAEX, and the typedef CW2A.

  • CW2CWEX This class is used by the string conversion macros CW2CTEX and CT2CWEX, and the typedef CW2CW.

  • CW2WEX This class is used by the string conversion macros CW2TEX and CT2WEX, and the typedef CW2W.

  • 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.

See Also

Class Overview
ATL and MFC String Conversion Macros