[fpc-pascal] FPC with Firebird SuperServer

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jan 27 09:49:56 CET 2009


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



More information about the fpc-pascal mailing list