[fpc-devel] a shared library suggestion

Michael Van Canneyt michael at freepascal.org
Wed May 10 09:21:38 CEST 2006



On Wed, 10 May 2006, peter green wrote:

> yeah that technique requires far less stubs but it means that the coder has
> to manually call an init function.

No.
- This can be put in the initialization of the unit.
- It can be called by components that need it. SQLDB does it like that.


> also how does your code respond if one of the entry points isn't found?

It leaves the pointer empty. This is needed, because some entry points
simply don't exist in some versions of DLL's

Michael.



More information about the fpc-devel mailing list