Subject | RE: [firebird-support] How to check if Firebird is running ? |
---|---|
Author | Brenden Walker |
Post date | 2007-08-29T14:04:26Z |
> -----Original Message-----See the InterBase and Firebird Coexistance project on sourceforge:
> From: firebird-support@yahoogroups.com
> [mailto:firebird-support@yahoogroups.com] On Behalf Of mariofb123
> Sent: Wednesday, August 29, 2007 2:20 AM
> To: firebird-support@yahoogroups.com
> Subject: [firebird-support] How to check if Firebird is running ?
>
> I am using Firebird 2.0.1 with Delphi 7 application.
> I need to check from within the application code if Firebird
> server is currently running. How to do that ?
>
> Also, a related question:
> How to stop the Firebird running from within the Delphi application
> (programmatically) ? What run commands need to be issued?
http://sourceforge.net/projects/ibfbcoex
The DBToggler application has examples of controlling FB (both running
as a service and an application) as well as detecting if the
service/application is running..etc Written in Delphi, not sure if
it'll work with D7 as we're now on CodeGear 2007 but it will certainly
point you in the right direction.