Using the CA_Set_CA_Version() subroutine (see CA_Set_CA_Version()), you can declare the version of the Custom Server Library your custom server was built against.
You must call CA_Set_CA_Version() before CA_Init().
To find out the current version of the Custom Server Library use the CA_Get_DT_Info() subroutine (see CA_Get_DT_Info()), and look at the value of the version parameter in the DT_INFO_ST structure (see DT_INFO_ST).
If you execute a custom server which has a different version number to that of the current Custom Server Library, message 20017 is logged.
For system-generated main functions, a call to CA_Set_CA_Version() is generated automatically.