Subject Re: [firebird-support] Re: IBPP - Is the Database Connected?
Author Milan Babuskov
barfingdog_2004 wrote:
> Thank you Oliver and Dan:
>
> I'm having a tough time thinking like a Firebird user.
>
> I'm not finding "Connected". Please help me out.

Why don't you just use simple bool flag? Like this:

bool Connected = false;
try
{
db->Connect();
Connected = true;
}
catch (

Later you simply check the value of Connected variable.
HTH

--
Milan Babuskov
http://fbexport.sourceforge.net