how can i restart firebird by code Delphi?
you have to stop and start the firebirdsql service, e.g. by invoking the "net stop ..." and "net start ..." commands.
Elmar
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/1112777739.20240209141827%40stefanheymann.de.
i could not understand...
i just want to know how to start or stop firebird by code in Delphi...
could you help me?
There is no option to do that part of firebird client code.
Do to that, you have to restart the FirebirdSQL Windows-Service (assuming you are not using an Linux-Delphi).
Restarting service can be done from command line (net start / net stop) or by using Windows API.
The ServiceManager unit should be an Wrapper for the API.
As an alternative, you can use the "system" command to start the
command to be entered on Command line.
how can i restart firebird by code Delphi?
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/6b154ab9-cae2-406a-a27a-a53407ecdabbn%40googlegroups.com.