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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to