Subject | Re: [firebird-support] Start/Stopping service |
---|---|
Author | Helen Borrie |
Post date | 2019-04-18T22:22:46Z |
Hello m_brahim11@...,
service path area'. The service will execute the server process from
the installed path C:\Firebird\Firebird_3_0\firebird.exe -s.
name - "FirebirdServerfirebird3" - because you have another version of
Firebird running on the same host machine and you want to call instsvc
from your application to check the status of the Fb3 server process...
...to ensure that it runs the correct version if instsvc for the
installed Fb3 process, your application will need to use the full path
C:\Firebird\Firebird_3_0\instsvc.exe with the desired switches. Maybe
your problems arose from depending on the PATH variable that was
pointing to an older version of instsvc.exe.
Because instsvc requires 'Run as Adminstrator' you will want the
required Windows API call in your application. But I guess you have
already done that in the past.
Apart from the progressively stricter access permissions in Windows
versions newer than XP, I don't know of any reason for differences
between different Windows versions if the service was configured the
same way on each server. Of course, we are talking about the
Professional versions, not Home, etc., that do not support services.
I don't know whether this answers your question, though.
Helen
---
This email has been checked for viruses by AVG.
https://www.avg.com
> Thank you for answer,I don't understand what you wrote there regarding 'instsvc in the
> Yes the service is present in Local Services and the file
> executable file in the area is
> C:\Firebird\Firebird_3_0\firebird.exe -s firebird3
> anyway I have no problem with managing service to access my
> application but I don't know if it is correct firebird.exe instead
> of instsvc in the service path area.
>
service path area'. The service will execute the server process from
the installed path C:\Firebird\Firebird_3_0\firebird.exe -s.
> So I need to know please If the service nameGuessing that you installed the Fb service with a non-default service
> "FirebirdServerfirebird3" is always the same in any windows version
> because I must manage FB service within delphi routine like checking service status, start, stop.
name - "FirebirdServerfirebird3" - because you have another version of
Firebird running on the same host machine and you want to call instsvc
from your application to check the status of the Fb3 server process...
...to ensure that it runs the correct version if instsvc for the
installed Fb3 process, your application will need to use the full path
C:\Firebird\Firebird_3_0\instsvc.exe with the desired switches. Maybe
your problems arose from depending on the PATH variable that was
pointing to an older version of instsvc.exe.
Because instsvc requires 'Run as Adminstrator' you will want the
required Windows API call in your application. But I guess you have
already done that in the past.
Apart from the progressively stricter access permissions in Windows
versions newer than XP, I don't know of any reason for differences
between different Windows versions if the service was configured the
same way on each server. Of course, we are talking about the
Professional versions, not Home, etc., that do not support services.
I don't know whether this answers your question, though.
Helen
---
This email has been checked for viruses by AVG.
https://www.avg.com