sybesp_dll_version

SAP recommends that all libraries loaded into XP Server implement the function sybesp_dll_version. The function returns the Open Server API version used by the DLL.

Enter:

CS_INT sybesp_dll_version()
----------
CS_CURRENT_VERSION

CS_CURRENT_VERSION is a macro defined in the Open Server API. Using this DLL prevents you from having to hard-code a specific value. If CS_CURRENT_VERSION is not implemented, XP Server does not attempt version matching, and prints error message 11554 in the log file. (For information on error messages, see the Troubleshooting and Error Messages Guide.) However, XP Server continues loading the DLL.

If there is a mismatch in versions, XP Server prints error message 11555 in the log file, but continues loading the DLL.