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
a
> CLOSE message but I'm not sure if thats a good way to do it or not! What
way
> 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.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing