1. Introducing the ToolTalk Service
2. An Overview of the ToolTalk Service
4. Setting Up and Maintaining the ToolTalk Processes
5. Maintaining Application Information
6. Maintaining Files and Objects Referenced in ToolTalk Messages
7. Participating in ToolTalk Sessions
13. Managing Information Storage
Retrieving ToolTalk Error Status
Checking ToolTalk Error Status
Functions with Natural Return Values
Functions with No Natural Return Values
A. Migrating from the Classing Engine to the ToolTalk Types Database
B. A Simple Demonstration of How the ToolTalk Service Works
If an error occurs during a ToolTalk function that returns an integer, the return value is out-of-bounds. The tt_int_error function returns a status of TT_OK if the value is not out-of-bounds.
To check if a value is out-of-bounds, you can use the tt_is_err macro to determine if an error or a warning occurred.
To retrieve the character string for a Tt_status code, you can use tt_status_message.
checks a returned integer.
Example 14-3 Checking a Returned Integer
|