General Usage

To use this library, the user makes a call to _CP_logon() at the beginning of the C program to connect to the D3 virtual machine. This call goes through the normal D3 logon activities, but suppresses all user prompts and messages. Note that neither the user nor the MD macro will be executed. After logging on, the user has full access to the D3 database using C calls that provide functionality previously available only through FlashBASIC. When the C program completes, the user must issue a _CP_logoff() call to terminate the D3 connection.

A few functions may be called without performing an initial call to _CP_logon(). These are:

_CP_cat

_CP_mkstr

_CP_mkstrl

_CP_str0

_CP_str_alloc 

_CP_str_copy

_CP_str_free

_CP_str_null

_CP_str_realloc