Product Documentation

c-treeACE V10.0 Update Guide

Previous Topic

Next Topic

Exported C++ Methods in the Server .DLL Model

The c-treeACE Server .DLL model is a power extension of c-treeACE database technology allowing all of the features of c-treeACE Server technology to now be available within your existing non-server applications. This is accomplished by having the core server bundled into a run-time linkable shared library object.

Initially, this model excluded C++ methods, as the methods were not exported from the library. These exports have since been added.

c-treeDB Functions and Methods Not Supported with ctFILBLK and ctQUIET

c-treeDB C functions and C++ methods are handled differently than standard C function calls. Specifically, c-treeDB calls do not route through the internal c-treeACE Server “Single Entry Point” or SEP control handling. SEP allows advanced control over some server functions, most notably, the file block and server quiesce features. As a consequence, these features are not supported when using the c-treeACE Server .DLL model. Calling any c-treeDB function or method while the server .DLL is in a blocked state will result in an unpredictable manner, and will most likely cause a process fault and terminate. Indeed, any shared object library faults will terminate the process that loaded them.

TOCIndex