Subject How to detect that Firebird 2 database is connected?
Author mariofb123
To replace the Firebird database from within Delphi application, I
first disconnect it and then run the command gbak -rep -v -user...
However, if the database is already open (connected) using another
external application such as IBExpert, I am not able to detect it from
within my Delphi application, and the replace database process fails
without any warning.
Is there a way to programmatically check if the database is connected
externally, before running gbak -rep ?

regards
Mario