Andrew Brunner schrieb:
I got it to work by declaring the Callback Event Type in the
Storage.Folders area and declared that type in the other unit which
linked just fine.
It appears that the references cannot be located from outside that namespace.
That's why I wonder what namespaces are *goo
> Can you report a small but full example to the bug tracker?
Yes, I was able to get it to fail with just a simple unit test.
It's a lazarus project.
http://mantis.freepascal.org/view.php?id=20909
___
fpc-devel maillist - fpc-devel@lists.freepascal.or
Probably,
I got it to work by declaring the Callback Event Type in the
Storage.Folders area and declared that type in the other unit which
linked just fine.
It appears that the references cannot be located from outside that namespace.
On Thu, Dec 15, 2011 at 4:14 PM, Paul Ishenin wrote:
> 16.
16.12.11 1:58, Andrew Brunner пишет:
class
storage
class
Folders
Type
Item=record
end;
PItem=^TItem
TItems=array of PItem
Variables in some other unit compile OK.
in some other unit:
type MyCallback=procedure(
class
storage
class
Folders
Type
Item=record
end;
PItem=^TItem
TItems=array of PItem
Variables in some other unit compile OK.
in some other unit:
type MyCallback=procedure(Var Items:Storage.Folders.TItems); // linking fa