Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CString::OemToAnsi

CString::OemToAnsi

Visual Studio 6.0

CString::OemToAnsi

void OemToAnsi( );

Remarks

Converts all the characters in this CString object from the OEM character set to the ANSI character set. See the https://msdn.microsoft.com/en-us/library/ms857349.aspx in the C++ Language Reference.

This function is not available if _UNICODE is defined.

Example

See the example for CString::AnsiToOem.

CString OverviewClass MembersHierarchy Chart

See Also   CString::AnsiToOem

Show:
© 2015 Microsoft