SIS - Application Programmatic Interface, Reference Manual - ICS ...
SIS - Application Programmatic Interface, Reference Manual - ICS ...
SIS - Application Programmatic Interface, Reference Manual - ICS ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>SIS</strong>-<strong>Application</strong> <strong>Programmatic</strong> <strong>Interface</strong>, <strong>Reference</strong> <strong>Manual</strong><br />
Appendix G - Backwards compatibility<br />
In to keep <strong>SIS</strong> C programmatic interface backward compatible to the previous version<br />
(ver. 2.2) we provide a set of include files and libraries that do not use sessions and<br />
thus will not take advantage of the multi-thread capabilities of the <strong>SIS</strong> server.<br />
The basic change of version 2.2 and 2.2.1 is the introduction of sessions. These<br />
libraries inforce the use of the functions init_<strong>SIS</strong>_API_CS(), init_<strong>SIS</strong>_API_SA()<br />
and close_<strong>SIS</strong>_API() and all C-API functions should be used without the sessionID<br />
as first argument.<br />
On WIN32 systems the include files that should be used to compile this code are:<br />
sis_kernel/time.h,<br />
cpp_api/cs_defs.h,<br />
cpp_api/identifier.h,<br />
cpp_api/sis_classes.h,<br />
cpp_api/c_wrapper.h.<br />
On WIN32 systems the libraries that should be used to link this code are:<br />
Client – Server:<br />
• lib_c_api_cs_2b.lib (The C interface <strong>SIS</strong> API)<br />
• cpp_api_cs_2b.lib (The C++ interface <strong>SIS</strong> API )<br />
• lib_sis_kernel_2b.lib (The <strong>SIS</strong> Kernel)<br />
• lib_time_2b.lib (Time functions library)<br />
• ccomms_2b.lib (Client Communications)<br />
• connection_2b.lib (Used to open a connection to the server)<br />
• libl.lib<br />
Direct Access:<br />
• lib_c_api_sa_2b.lib (The C interface <strong>SIS</strong> API)<br />
• cpp_api_sa_2b.lib (The C++ interface <strong>SIS</strong> API )<br />
• lib_sis_kernel_big_2b_cs.lib (The <strong>SIS</strong> Kernel)<br />
• lib_time_2b.lib (Time functions library)<br />
• ccomms_2b.lib (Client Communications)<br />
• connection_2b.lib (Used to open a connection to the server)<br />
• libl.lib<br />
Notice that before running an application that access directly an <strong>SIS</strong> base the<br />
environment variable DB_DIR have to be set (DB_DIR: locates the directory<br />
where the <strong>SIS</strong> database exists).<br />
August 2002/v2.2.2 -65- <strong>ICS</strong>-FORTH