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
The ToolTalk service returns error status in the function's return value rather than in a global variable. ToolTalk functions return one of these error values:
Tt_status
int
char* or opaque handle
Each return type is handled differently to determine if an error occurred. For example, the return value for tt_default_session_set is a Tt_status code. If the ToolTalk service sets the default session to the specified sessid:
Without a problem — the Tt_status code returned is TT_OK.
With a problem — the Tt_status code returned is TT_ERR_SESSION. This status code informs you that the sessid you passed was not valid.