Subject | Re: [firebird-support] Firebird Service Name |
---|---|
Author | Helen Borrie |
Post date | 2008-08-06T13:31:31Z |
At 11:06 PM 6/08/2008, you wrote:
There are no plans to change the name of the default instance so, if you know that your service is always going to want dependency on the default instance and you are secure in the knowledge that someone else isn't going to come along and replace *your* FirebirdServerDefaultInstance with a different version, then you have no fears about future-proofing.
./heLen
>I'm writing a Windows service that is dependent on the Firebird service.Yes, if it is the instance that you want your service to depend on.
> Is it valid to hard code "FirebirdServerDefaultInstance" as the
>Firebird service name,
>or should I be deriving the name somehow toIf other instances of a firebird server are running as services then someone put them there. (Check the Registry if your site suffers from software anarchy on the servers!) At the moment it has to be done manually although I believe there are still plans to make it an option you can do automatically via the installer.
>ensure future (and perhaps backwards) compatability?
There are no plans to change the name of the default instance so, if you know that your service is always going to want dependency on the default instance and you are secure in the knowledge that someone else isn't going to come along and replace *your* FirebirdServerDefaultInstance with a different version, then you have no fears about future-proofing.
./heLen