String Conversion Macros

The string conversion macros discussed here are valid for both ATL and MFC. In the macro names, the source string type is on the left (for example, A) and the destination string type is on the right (for example, W). A stands for LPSTR, OLE stands for LPOLESTR, T stands for LPTSTR, and W stands for LPWSTR.

At a Glance

Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

MACRONAME( string_address )

See Also

ATL Macros and Global Functions