[lazarus] streaming error with TIBDatabase
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu May 15 10:39:42 EDT 2003
On Thu, 15 May 2003 17:10:23 +0200 (W. Europe Daylight Time)
Michael Van Canneyt <michael.vancanneyt at wisa.be> wrote:
>
>
> On Thu, 15 May 2003, Mattias Gaertner wrote:
>
> > On Mon, 12 May 2003 07:13:09 +0800
> > hernan.et at pg.com wrote:
> >
> > > Hi all,
> > >
> > > At least I have confirmed that there is indeed a problem with
> > > TIBDatabase. Here is what I have found this weekend. Whenever you drop
> > > TIBDatabase control into a form, the name property is not there. I
> > > have put in lots of writeln in Writer.inc I found that it is somehow
> > > reading a property but I cannot pin down what property it is. Hope
> > > some Lazarus/Fpc guru out there can have a look on this. This problem
> > > is beyond my comprehension.
> >
> > It's a compiler bug.
> > When a forward defined class is used as type for a published property,
> > the class has no RTTI information about its properties. I reported it as
> > #2492.
> > This is the case for TDataBase and TDBDataSet.
>
> Wouldn't the simple fix be to declare these properties in
> TDatabase/TDBDataset as public instead of Published, and to change them
> in the descendent classes as published ?
Yes.
Mattias
More information about the Lazarus
mailing list