Subject | Re: [firebird-support] Re: IBPP - Is the Database Connected? |
---|---|
Author | Milan Babuskov |
Post date | 2004-05-14T16:59:14Z |
barfingdog_2004 wrote:
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
> Thank you Oliver and Dan:Why don't you just use simple bool flag? Like this:
>
> I'm having a tough time thinking like a Firebird user.
>
> I'm not finding "Connected". Please help me out.
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