Subject Re: [ib-support] Installing Firebird an NT service using InnoSetup?
Author Claudio Valderrama C.
"Brad Pepers" <brad@...> wrote in message >
> Actually I don't know how to stop the ibguard.exe and ibserver.exe when
> running as applications. I was trying to use FindWindow and then send it
> CLOSE message but I'm not sure if thats a good way to do it or not! What
> would you suggest?

Look for the guardian. If it's running, send it a WM_CLOSE. If not, look for
FB. If it's found, send it a WM_CLOSE.
Don't do that with services, of course. :-)
This is why the first action is to see if they are running as services.

Claudio Valderrama C. - -
Independent developer
Owner of the Interbase® WebRing