The ibec_GetConnectionProp function offers the additional possibility to get the server version of the active connection.
No additional description…
function ibec_GetConnectionProp(Connection : variant, PropertyName : string);
execute ibeblock
as
begin
FBSrc = ibec_CreateConnection(__ctFirebird,'DBName="localhost:d:\mydb.fdb";
ClientLib=fbclient.dll;
user=SYSDBA; password=masterkey; names=UTF8; sqldialect=3');
ibec_UseConnection(FBSrc);
SrvVerStr = ibec_GetConnectionProp(FBSrc, 'ServerVersion');
ibec_ShowMessage(SrvVerStr);
ibec_CloseConnection(FBSrc);
end