22.08.2016 11:48, Alex Peshkoff wrote:
>>
>> if I start firebird using "firebird.exe -a", is there a way to stop it?
>> In a scripted way.
>
> I know programmatical way to stop it. It's ugly but should work.
>
> Query services manager with undocumented(!!!, it's in svc_undoc.h)
> information(!!!) item isc_info_svc_svr_offline (you will not get any
> reasonable response from server) and detach from services manager.
> Server should go down.

Searching for an open server's window and sending it WM_CLOSE could be 
easier ;-)


Dmitry


------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to