Subject | Re: Start/Stop FB from a program |
---|---|
Author | Adam |
Post date | 2004-12-13T12:29:19Z |
--- In firebird-support@yahoogroups.com, "kimon_the_athenian2"
<kimon_the_athenian2@y...> wrote:
net start "Firebird Server - Default Instance"
Out of curiousity, why shut it down at all?
<kimon_the_athenian2@y...> wrote:
>net stop "Firebird Server - Default Instance"
> Hi!
>
> How should I start FB server on windows as an application from
> another (delphi) application?
>
> WinExec?, ShellExecute?, CreateProcess?
>
> And how to shutdown server safely from the same application?
> TerminateProcess seems to be able to do this but it seems to be too
> harsh.
>
> thanks in advance!
>
> Aivar
net start "Firebird Server - Default Instance"
Out of curiousity, why shut it down at all?