In some situations, you might need to use existing data files that have been saved in OEM format with new GUI or Internet programs that read and write in ANSI format. There are several options you can choose between to handle the required conversion:
- If you do not need to preserve your existing data in OEM format, you can convert it to ANSI using the supplied utility, Mfoemtoa.
- If your application is a Dialog System application, you can use the OEM conversion dialog in your application
- You can convert data to and from ANSI as needed using the call-by-name routines PC_WIN_CHAR_TO_OEM and PC_WIN_OEM_TO_CHAR
- If your application is a Win32 API application, you can convert data to and from ANSI as needed using the Win32 API calls OemToCharBuff and CharToOemBuff.