Subject RE: [firebird-support] howto determine fb-version from ibase.h
Author Leyne, Sean
Lutz,

> i wrote a small c++ - library to access firebird databases,
> which has to compile on firebird-1.5 as well as on
> firebird-1.0 machines. since there have- been minor changes
> in the isc interface (isq_queue_events for instance)
> , i wondered if there is a #define in ibase.h which helps me
> to tell which version i am using ? can anybody help ?

Check out:

- isc_database_info, returns an IB 'equivalent' string ('WI-T6.3.0.3744
Firebird 1.5 Release Candidate 4')

- isc_info_svc_server_version, returns the specific FB version string
('WI-T1.5.0.3744 Firebird 1.5 Release Candidate 4')


Sean