Joost van der Sluis | 30 Jun 13:03
Picon
Gravatar

Problem streaming properties without unit interfaces

Hi all,

It seems like it that streaming properties referencing to objects on
other datamodules does not work without the unit interfaces.

For example, you have two datamodules, on one you define a
TIBConnection, and on the other a TSQLQuery. Now set the Database
property of the TSQLQuery to the TIBConnection on the other datamodule.

At runtime the Database property will be nil, if the unit interfaces is
not linked in. When you use the interfaces unut somewhere, it works.

Why? How? Any ideas where this comes from?

Joost

--
_______________________________________________
Lazarus mailing list
Lazarus <at> lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Gmane