◄CString► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── void AnsiToOem(); Remarks Converts all the characters in this CString object from the ANSI character set to the OEM character set. See the IBM PC Extended Character Set table and the ANSI table in the <Microsoft Windows Programmer's Reference>. This function is available only in the Windows compiled version of the Microsoft Foundation Class Library, and it is declared in AFX.H only if _WINDOWS is defined. Example CString s( '\265' ); // Octal ANSI code for '1/2' s.AnsiToOem(); ASSERT( s == "\253" ); // Octal oem code for '1/2' See Also ◄CString::OemToAnsi► -♦-