Subject Re: [firebird-support] IBPP - Is the Database Connected?
Author Olivier Mascia
On 13/05/2004 23:54 GMT+1, barfingdog_2004 wrote:

> Hi Folks:
>
> Several days ago I emailed a question to the IBPP
> support group. I haven't seen it addressed, so I'll
> ask here.

You posted it there 12 May 00:36 of my time.
And I answered it there same day 12 May 12:32 of my time.
That is within 12 hours from your post.
I duplicate my answers here.

> Is the list of methods in the IBPP documentation
> complete?

No. It was at the time it was written.
It has to be updated.

At any time, the **best** reference for such things **is** the file ibpp.h.

> I'm wondering if there is a method that will tell
> me if a database is currently connected.

There is, in IBPP 2.3 (it is tagged "beta", but that is just a name, you
can use it, it is stable and about to be released).

Though, if there wasn't your application could have known if it
connected or not I think. That's so basic. But anyway: there is a 'bool
Connected(void)' method.

--
Olivier Mascia