Subject | Re: [IBO] IBO and fbembeded.dll HOWTO |
---|---|
Author | Frank Ingermann |
Post date | 2003-06-25T22:53:45Z |
Hi Tony,
first: thanks for the howto!, just a little comment:
you don't necessarily have to edit the IB_Session511
unit directly, you just have to make sure the
IB_Constants.IB_GDS32 := 'fbembed.dll';
statement gets executed before IBO "comes alive" in
your app; so you could e.g. place it in the
initialization part of any of your own app's units.
(editing IB_Session511.pas may cause problems when
you install newer IBO versions later on...)
cheers,
Frank
first: thanks for the howto!, just a little comment:
you don't necessarily have to edit the IB_Session511
unit directly, you just have to make sure the
IB_Constants.IB_GDS32 := 'fbembed.dll';
statement gets executed before IBO "comes alive" in
your app; so you could e.g. place it in the
initialization part of any of your own app's units.
(editing IB_Session511.pas may cause problems when
you install newer IBO versions later on...)
cheers,
Frank
> Seen some discussion on this and I have run into the same problems
> and resolved them.
>
> First leave the name of the dll as it is, do not rename it.
> Jason includes a unit with IBO called IB_Session511. Add this unit
> to your DPR as the first unit.
>
> i.e.
> program AMmessenger;
>
> uses
> IB_Session511,
> Forms,
> windows,
>
> now edit IB_Session511 and set the IB_Constants.IB_GDS32 as shown
> below.
>
> unit
> IB_Session511;
>
> interface
>
> uses
> IB_Constants;
>
> implementation
>
> initialization
> // Replace the normal value with the alternate client DLL value.
> IB_Constants.IB_GDS32 := 'fbembed.dll';
> end.