Jump to content
amit

How to determine whether 32 or 64 bits Firebird was installed on PC?

Recommended Posts

How to determine whether 32 or 64 bits Firebird was installed on PC?     Is there any Delphi Code sample for this?

Share this post


Link to post

IBExpert is able to get this info

 

Quote

Server Version Info
---------------------------------------------------------------------------
Server Version: WI-V3.0.7.33374 Firebird 3.0
Server Implementation: Firebird/Windows/AMD/Intel/x64
Service Version: 2

 

so I think some ServicesAPI could help

Share this post


Link to post

I assume that IBExpert is connected to the FB server. So it knows the path where it is installed. OP knows nothing.

Share this post


Link to post

I mean to determine its version by Delphi Code.  

Edited by amit

Share this post


Link to post

For Interbase we use TIBServerProperties from IBX package.

     List.Add (IBSrvProp.licenseInfo.LicensedUsers.ToString);
     List.Add (IBSrvProp.DatabaseInfo.NoOfAttachments.ToString);
     List.Add (IBSrvProp.VersionInfo.ServerImplementation);
     List.Add (IBSrvProp.VersionInfo.ServiceVersion.ToString);
     List.Add (IBSrvProp.ConfigParams.SecurityDatabaseLocation);

 

Edited by tgbs

Share this post


Link to post
On 11/10/2022 at 7:02 PM, tgbs said:

For Interbase we use TIBServerProperties from IBX package.

     List.Add (IBSrvProp.licenseInfo.LicensedUsers.ToString);
     List.Add (IBSrvProp.DatabaseInfo.NoOfAttachments.ToString);
     List.Add (IBSrvProp.VersionInfo.ServerImplementation);
     List.Add (IBSrvProp.VersionInfo.ServiceVersion.ToString);
     List.Add (IBSrvProp.ConfigParams.SecurityDatabaseLocation);
 

 

Can you get 32bit/ 64bit calls  as well as the version of Firebird database being used eg 1.5, 2,3,4 etc and compatibility with current server ? eg Firebird 3 or Firebird 4.
It's a shame Firebird server does not come  with its own Datapump to streamline all these incompatibility issues.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×