Forum > General

Plugins as DLL

(1/1)

Zaher:
I have a project need to load dll as plugins, the idea, my main classes should be inherited in the dll projects, not just sharing a memory handles, i need to work in dll project as like I am working in the main project, but it is a dll.

Is that possibles in new version of FPC?

Thanks

GetMem:
I'm not sure if I understood completely what are you after. However take a look at this:
  1.  http://forum.lazarus.freepascal.org/index.php/topic,30252.msg192411.html#msg192411
  2.  http://forum.lazarus.freepascal.org/index.php/topic,30275.msg192494.html#msg192494

Jonas Maebe:
It requires support for dynamic packages, which FPC doesn't have yet. The basics already work for Windows, Mac and Linux in the http://svn.freepascal.org/svn/fpc/branches/svenbarth/packages/ branch. It's currently still based on a very old version of trunk though (version 2.7.1), so you'll probably run into quite a bit of problems if you would try to use it.

marcov:
(and that branch doesn't support dynamic loading of packages yet, which afaik is needed for plugins)

Navigation

[0] Message Index

Go to full version