Subject Re: [IBO] backupService
Author Markus Ostenried
On Wed, Aug 13, 2008 at 07:44, Thomas Steinmaurer <ts@...> wrote:
> AFAIK, the IBOAdmin components have a weird IF condition somewhere where
> it checks if the client library has been loaded. It for sure gets loaded
> when being connected to the database.

I remember something like that, too.
You can force IBO to load the client library with this code:

uses IB_Session;

// make sure the client library is loaded
if (@dll_service_attach = nil) then begin
Log(1, 'client library isn''t loaded yet -> RevertToOriginalHooks...');
if (@dll_service_attach = nil) then begin
Log(1, 'Error...');
end else begin
Log(1, 'client library loaded.');

You need to make sure that RevertToOriginalHooks is declared in the
interface section of IB_Session, I'm not sure if that's the case by