Subject Re: [IBO] The Services API... again.
Author Geoff Worboys
> What enumeration problem? Did you compare the ibase.h that comes
> with IB6 against the Firebird source code?

I have not looked at ibase.h from the Firebird source. IBOs
IB_Header.pas file was taken from the old IB5.x header and the service
enumerations...

isc_info_svc_version = 4;
...
isc_info_svc_get_env_msg = 24;

are not valid for IB6.

The version of ibase.h that was released with IB6 (from borland) has a
rather different set of values...

isc_info_svc_svr_db_info = 50;
isc_info_svc_get_license = 51;
isc_info_svc_get_license_mask = 52;
isc_info_svc_get_config = 53;
isc_info_svc_version = 54;
isc_info_svc_server_version = 55;
isc_info_svc_implementation = 56;
isc_info_svc_capabilities = 57;
isc_info_svc_user_dbpath = 58;
isc_info_svc_get_env = 59;
isc_info_svc_get_env_lock = 60;
isc_info_svc_get_env_msg = 61;
isc_info_svc_line = 62;
isc_info_svc_to_eof = 63;
isc_info_svc_timeout = 64;
isc_info_svc_get_licensed_users = 65;
isc_info_svc_limbo_trans = 66;
isc_info_svc_running = 67;
isc_info_svc_get_users = 68;

Needless to say, I discovered this the hard way! These are a
different set of enumerations to the isc_action_svc_* series, which
are not currently in the IB_Header unit at all (but they can soon be
added).

I dont know if the old isc_info_svc_* series had any use with pre-IB6
releases. If anyone is using these values let me know, because I have
simply removed the old definitions (not used in IBO) and put in the
new IB6 series.


Geoff Worboys
Telesis Computing