Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Converts all the characters in this CStringT object from the OEM character set to the ANSI character set.

void OemToAnsi();

This function is not available if _UNICODE is defined.

See the example for CStringT::AnsiToOem.

Header: cstringt.h

Community Additions

© 2015 Microsoft