To handle CS-Library errors with a callback function, your application must:
Declare the callback function as described in “Defining a CS-Library message callback”.
Install the callback error handler by calling cs_config to set the CS_MESSAGE_CB property. For a detailed description, see “CS-Library Message Callback property”.