[lazarus] The use of FPC and Lazarus for simulation software

P. van der Velde p.vandervelde at raketnet.nl
Thu Sep 25 16:45:20 EDT 2003

Michael Van Canneyt wrote:

>I think you can do this by using interfaces.
>This kind of problems is why they were invented, I suppose.
>All you need is a registration routine which is exported by your
>library, and a routine which creates a requested class/interface.
>It shouldn't be that hard. The only caveat will be that IS and AS
>operators won't work correctly as the VMTs will be different.
Ok thanx. I didn't think about that. The only thing that puzzles me is 
why the vmt's will be different? If you allways use the creator routine 
(which is exported by the library) aren't all classes created in the 
same memory space etc?  Shouldn't that also mean that the VMTs are the 
same? Or am I missing the crucial point here?



More information about the Lazarus mailing list