Recent

Author Topic: tdbf and dll  (Read 3757 times)

cocodad

  • New member
  • *
  • Posts: 8
tdbf and dll
« on: June 27, 2007, 10:01:54 am »
instead of putting tdbf in the main app, i want to put it in a dll and load it at runtime. how do i do this?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: tdbf and dll
« Reply #1 on: June 27, 2007, 10:14:54 pm »
Build a procedural interface on the DLL that will give you access to everything you need from this component. You will need at least a destructor and a constructor functions, and also more to set properties, etc.

More info:

http://wiki.lazarus.freepascal.org/Lazarus/FPC_Libraries

Also consider if this is really necessary. If not, I would avoid doing this for simplicity.

cocodad

  • New member
  • *
  • Posts: 8
tdbf and dll
« Reply #2 on: June 28, 2007, 09:28:39 am »
thank you for the info. also took your advice and might skip this idea

 

TinyPortal © 2005-2018