Subject Re: [ib-support] Interbase 4
Author Claudio Valderrama C.
"Nataraj S Narayanan" <nataraj@...> wrote in message
news:Pine.LNX.4.21.0202220324260.614-100000@......
>
>
> Its a local Interbase.
>
> I have tried that. But got a message like 'unsupported disk structure'.

Which engine are you trying? IB6 certainly said that. You should backup in
transportable mode and restore with IB6 or Firebird. Also, if you want to
use directly the IB4 db (ODS4), the original IB6 didn't allow that. You
should try a newer IB6 or Firebird.

> If BDE is calling the IB Api, should'nt it work for any version? Can we
> tweak so as to make BDE call the C/S database?

Such BDE should be a 16-bit release. That BDE doesn't do thunking, it
doesn't know how to speak to a 32-bit DLL. You could try an installation of
Firebird, but copy the IB4's DLL where your program can find it and see if
something good happens. If it doesn't work with true local access (Memory
Mapped Files), then it might work with local TCP access through localhost.
In fact, I have a legacy 16-bit Delphi app that talks to Firebird through
the16-bit BDE. Just to be safe, I backed up the db on v4 and restored it on
Firebird.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase® WebRing