Re: [fpc-pascal] IS operator and library created objects

2015-08-20 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/20/2015 03:42 AM, Fabio Luis Girardi wrote: Everyone know some alternative (or more elegant)... AFAIK FPC does not support using objects (er even strings) cross a dynamic library interface. Unless you explicitly use the cmem library. However even then it's bas

Re: [fpc-pascal] IS operator and library created objects

2015-08-20 Thread Michael Schnell
On 08/20/2015 03:42 AM, Fabio Luis Girardi wrote: Everyone know some alternative (or more elegant)... AFAIK FPC does not support using objects (er even strings) cross a dynamic library interface. Delphi has "Runtime Packages" for this. But those are not (yet) implemented in fpc (which woul

Re: [fpc-pascal] IS operator and library created objects

2015-08-19 Thread Michael Van Canneyt
On Thu, 20 Aug 2015, Torsten Bonde Christiansen wrote: On 2015-08-20 08:06, Sven Barth wrote: Am 20.08.2015 03:42 schrieb "Fabio Luis Girardi" >: > Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this op

Re: [fpc-pascal] IS operator and library created objects

2015-08-19 Thread Torsten Bonde Christiansen
On 2015-08-20 08:06, Sven Barth wrote: Am 20.08.2015 03:42 schrieb "Fabio Luis Girardi" mailto:fluisgira...@gmail.com>>: > Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. And /that/ i

Re: [fpc-pascal] IS operator and library created objects

2015-08-19 Thread Sven Barth
Am 20.08.2015 03:42 schrieb "Fabio Luis Girardi" : > Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. And /that/ is one of the reasons why dynamic packages were invented... > > Everyone know

[fpc-pascal] IS operator and library created objects

2015-08-19 Thread Fabio Luis Girardi
Hi! Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. Everyone know some alternative (or more elegant) method to test if a object created on a library is a class descendant without use object