> is it allowed ?

Yes, but watch out that is/as operator might not work as expected.

> can i pass ansistrings ?

Yes, but only if you know what you're doing. NEVER modify the passed strings
(it would confuse the reference counting). Use const parameter all the time.

> i know that passing ansistrings or tobjects would make the plugin system
> compatible with pascal only

Perhaps even worse, to FPC only.

-- 
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/Passing-objects-to-libraries-and-back-tp3401092p3401184.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to