Subject | Re: [IBO] Error in IB_Schema.pas |
---|---|
Author | Jason Wharton |
Post date | 2010-09-19T19:32:40Z |
Salvatore,
Thank you for reporting this issue.
It will be resolved in the next sub-release.
Kind regards,
Jason Wharton
Thank you for reporting this issue.
It will be resolved in the next sub-release.
Kind regards,
Jason Wharton
----- Original Message -----
From: "Salvatore Besso" <s.besso@...>
To: "Lista IB Objects" <IBObjects@yahoogroups.com>
Sent: Tuesday, August 17, 2010 4:53 AM
Subject: [IBO] Error in IB_Schema.pas
> hello all,
>
> I catched an error in IB_Schema.pas (IBO 4.9.10). I have noticed it
> because I have just reinstalled Windows on my
> machine and I haven't installed Delphi yet.
>
> I have run a small application that doesn't use BDE at all. Instead it
> uses a Firebird database located on a remote
> server in my local network. The error trace carries me into IB_Schema.pas
> in procedure GetBDEAliasInfo at line 236 where
> you are trying to open BDE configuration file that, of course, doesn't
> exist, since I haven't installed Delphi yet.
>
> Look now at function GetIDAPI that, in this case, returns an empty string;
> you are now trying to open a stream with an
> empty file name at line 236. In my opinion you should call GetIDAPI first
> (before trying to open the BDE configuration
> file at line 236) and, if GetIDAPI returns an empty string, skip the whole
> procedure jumping to exit, but I could be
> wrong, since I don't know if you need the information contained in that
> file if BDE is not used at all.
>
> Regards
> Salvatore