Thanks Joost - having problems though
If I follow it correctly, I place the 'Interbase, Ibase60Dyn' units in
the uses section (this defines the flag for dynamic control)
At the point just before I attempt to access the database, I place 'if
LibLoaded = FALSE then begin LibLoaded := TRUE; InitialiseIbase60; end;'
(and then release it in the Finalization section of the unit - if
LibLoaded then ReleaseIbase60;)
This appears to make sense (if I have done it correctly), but I still
receive the 'missing gds32.dll' error
Any suggestions ?
Joost van der Sluis wrote:
On Mon, 2006-02-20 at 22:57 +1000, SteveG wrote:
I have an (fpc) dll function library that contains code for both Server
and Client programs being created.
The server code uses the Interbase unit to connect to firebird, but the
clients do not need this.
Problem is the IB unit seems to automatically require, and attempts to
access the gds32.dll (not present on the clients)
Is there anyway I can (thru code, not recompiling) only load the
gds32.dll when required (ie when I say so)?
You can use the loadlibrary procedure with the other functions in the
Dynlibs library.
But why don't you simply use the ibase60dyn unit which is provided with
freepascal?
JoJo,
Joost.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives