Sven Barth wrote:
Thanks Sven, looks interesting and I'll play with it presently. Can an
extended record's fields/methods be set up at compilation time, or do
they need to be done by code?
The example I've given was for the case that you load the functions
dynamically and use the procvars contained in the record. You could do
it this way as well:
Yes, that's pretty much what I'm already doing (courtesy of somebody's
Delphi NAG bindings). But what about the static case, i.e. can an
extended record be exposed as a constant in an ordinary unit (no DLLs
etc. involved) with the methods preinitialised?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal