6. Creating an Application with OpenAPI : Sample Code : How the Synchronous Sample Code Works : Error Checking
 
Share this page                  
Error Checking
Typically, the sample programs do not perform error checking on the results of OpenAPI function calls. Error processing is demonstrated in one of the sample programs.
In general, these source files show:
How OpenAPI function parameters are established
The order in which OpenAPI functions are called to perform a specific action
How OpenAPI function output is processed
While the samples can be compiled and executed, the actual runtime actions performed provide little useful information.