Use a single API type

To restrict your application to a particular type of API, you must define one, and only one preprocessor definition.

The preprocessor definition is as follows:

  • CWB_OEM_ONLY
  • CWB_ANSI_ONLY
  • CWB_UNICODE_ONLY

For example, when writing a pure ANSI application, you specify both CWB_ANSI_ONLY and CWB_ANSI. Refer to the individual Programmer's Toolkit header files for details of the preprocessor definition and API names. Select the related link below for the API groups, header files, import libraries, and DLLs topic collection for more information.