Subject RE: Re[2]: [firebird-support] Re: How to Stop FBserver
Author Brenden Walker
> -----Original Message-----
> From: Nando Dessena [mailto:nandod@...]
> Sent: Friday, June 11, 2004 10:30 AM
> To: Brenden Walker
> Subject: Re[2]: [firebird-support] Re: How to Stop FBserver
>
>
> Brenden,
>
> BW> With FB running as an application, you'll need to send it
> a WM_QUIT
> BW> windows message. I've got a program (written in Delphi) that
> BW> controls IB and FB both as application and service, perhaps you
> BW> could just 'whip up' a small command line program to do the job.
>
> unfortunately, when firebird is used in such a "hidden" way
> it is most probably configured to NOT use a window, to avoid
> conflicts with other firebird installs on the machine. Since
> Windows lacks the concept of "child process" (or, better, it
> has one but it does not imply dependency of the child process
> on the parent process, so it's
> unusable) the next best thing would be to be able to load the
> firebird server in your own address space (as a DLL), which
> will be possible in Vulcan but is not possible currently in
> Firebird unless I find someone to do it - I don't think I
> will, though.

Not sure what you're getting at, I have no problem controlling FB as either
an application or a service. If it's running as an application, the
application handle (basically a window handle) is available for sending
messages to whether you see any evidence (ie: visible window) or not.