Author: Tomas Rutkauskas
How to start or stop Interbase service
Do you need to shutdown the Interbase db service e.g. for an installation program
and afterwards restart it?
You could do this with a lot of Delphi code involving unit WinSvc and function
StartService() or ControlService().
But luckily there is a much easier solution that uses the NET.EXE program which has
been part of Windows since Windows for Workgroups (Wfw 3.11). Just create the two
and call them from your code. You may want to call them and wait for their
net stop "InterBase Guardian" >NULL
net stop "InterBase Server" >NULL
net start "Interbase Guardian" >NULL