Use CT-Library API to interact between a Sybase Open Client CT-Library API and the DirectConnect server.
When a CT-Library application issues a request, it uses the ct_connect call to initiate a connect event to a specific access service.
The CT-Library API executes the request using the ct_command and ct_send calls. This initiates a language event in the DirectConnect server.
The CT-Library API uses ct_fetch to return the requested results to the client application.
The CT-Library API terminates the request with ct_close. This call initiates a disconnect event in the DirectConnect server.
Procedure calls for the CT-Library API are described in the Sybase Open Client Client-Library/C Reference Manual.
See the Enterprise Connect Data Access Installation Guide for your platform.