Subject | Re: [IBO] backupService |
---|---|
Author | Robert martin |
Post date | 2008-08-13T21:14:15Z |
Thanks Markus
I have edited the IBOServices file and changed the 'Attach' function to
add the reverttoorginalhooks. It now seems to work. Thanks :)
Perhaps someone needs to do an update of the IBOServices file ?
Rob
Markus Ostenried wrote:
I have edited the IBOServices file and changed the 'Attach' function to
add the reverttoorginalhooks. It now seems to work. Thanks :)
Perhaps someone needs to do an update of the IBOServices file ?
Rob
Markus Ostenried wrote:
> 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...');
> RevertToOriginalHooks;
> if (@dll_service_attach = nil) then begin
> Log(1, 'Error...');
> end else begin
> Log(1, 'client library loaded.');
> end;
> end;
>
> 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
> default.
>
> HTH,
> Markus
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more ! Yahoo! Groups Links
>
>
>
>
>