On 27 Jan 2009, at 10:22, Michael Van Canneyt wrote:
On Tue, 27 Jan 2009, Jonas Maebe wrote:
On 27 Jan 2009, at 10:07, Michael Van Canneyt wrote:
TSQLQuery and friends use the dynamically loaded version, for good
reason:
they must be usable in circumstances where you don't know if the
library is
present or not, as is the case in Lazarus, the database desktop
and whatnot.
I know, but if you know for sure that the library/framework is
available
(e.g., because you put it inside your application bundle on Mac OS
X), then
directly linking can be useful.
All you'd need to do is include the unit, I suppose. The dlopen()
should
then probably return the already linked library ?
Only if the name matches exactly. In case of a framework, the name of
the library inside the may be different.
Jonasx
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal