Recent

Author Topic: Plugins as DLL  (Read 2351 times)

Zaher

  • Hero Member
  • *****
  • Posts: 674
    • parmaja.org
Plugins as DLL
« on: December 26, 2015, 12:05:59 pm »
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

  • Hero Member
  • *****
  • Posts: 3784
Re: Plugins as DLL
« Reply #1 on: December 26, 2015, 12:37:39 pm »

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 991
Re: Plugins as DLL
« Reply #2 on: December 29, 2015, 12:06:23 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 10298
  • FPC developer.
Re: Plugins as DLL
« Reply #3 on: December 29, 2015, 01:06:38 pm »
(and that branch doesn't support dynamic loading of packages yet, which afaik is needed for plugins)

 

TinyPortal © 2005-2018