That is also the solution: make it public.
Ok, I made it public instead of published. FPC v.2.2.2 is able to compile it. But, the problem with access violation still persists. :(
Anyway, thanks for the hint. -Bee- _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal