[fpc-pascal] Passing objects to libraries and back
Jorge Aldo G. de F. Junior
jagfj80 at gmail.com
Sat Feb 26 03:34:08 CET 2011
I want to add plugin suport to an network app i am developing,
the easiest way of doing this is passing the internal objects as
parameters to funcions inside libraries (.so or .dll)
something like
procedure plugin(const parameter : tobject): tobject; external;
is it allowed ?
or if i cant use objects, can i pass ansistrings ? (i can serialize
deserialize the object internal states)
i know that passing ansistrings or tobjects would make the plugin
system compatible with pascal only, but i dont care about that.
thanks in advance
More information about the fpc-pascal
mailing list