A special DB-Library option, DBANSItoOEM, set with dbsetopt, initiates automatic calls to the Windows-based functions ANSItoOEM and OEMtoANSI to translate characters. For more information on DB-Library options, see DB-Library Options.
Write your Windows-based application to call dbinit, once and only once, before any other DB-Library function.
The function dbwinexit has been added to the Windows operating system version of DB-Library. Your application should call this function immediately before exiting to tell DB-Library that the application will no longer be using DB-Library.