Board index » delphi » How to know if interbase is running from delphi?

How to know if interbase is running from delphi?

I will like to know how can i detect if the interbase server is
running.

thanks.

 

Re:How to know if interbase is running from delphi?


Quote
H Romero <hrom...@indexsys.com> wrote in message

news:3b573abe.47753586@forums.inprise.com...

Quote
> I will like to know how can i detect if the interbase server is
> running.

Search for 'Interbase Service' on www.delphi3000.com

There is an article that gives Delphi examples.

...MC

Re:How to know if interbase is running from delphi?


Quote
H Romero wrote:

> I will like to know how can i detect if the interbase server is
> running.

> thanks.

I can think of a few things.

1. use a socket component to connect to the interbase port 3050.  if the
connection is made you know interbase is running unless your running it
on another port, this is true for NT and Windows 98, I haven't tested
linux.  You can then test to see if the database is present by then
attaching or connecting to the database with your database components
connected value.  This way you know that interbase is running and you
also know that the database is present and if one fails the
troubleshooting is easier.

Brandon

Other Threads