Subject Re: [IBO] ib_clientlib
Author joel
Today, I have several generic methods that do not get the connection component as a parameter.
Its me use the beforeconnect as I sent it, it still works without the connection parameter, however I realized that putting a tib_session and an explicit tib_clientlib in my main datamodule, I need to pass the connection parameter to my generic methods, that is, demand more changes.


Em 01/06/2017 16:16, 'IBO Support List' supportlist@... [IBObjects] escreveu:

You shouldn’t do this in the BeforeConnect event.  By that time the default components will already have been generated.


It would be better to use an explicit TIB_Session and TIB_ClientLib component in your main data module.


Jason Wharton



From: [ ]
Sent: Thursday, June 01, 2017 12:10 PM
Subject: Re: [IBO] ib_clientlib


its work !

Is correct ?

procedure TForm5.IB_Connection1BeforeConnect(Sender: TIB_Connection);
  IB_ClientLib : TIB_ClientLib;
  IB_ClientLib := TIB_ClientLib.Create(Self);
  IB_ClientLib.Filename := 'c:\temp\fb3client.dll';
  IB_Connection1.GetSession.DefaultSession.IB_ClientLib := IB_ClientLib;


Em 01/06/2017 14:42, 'IBO Support List' supportlist@... [IBObjects] escreveu:


Please provide more details.  In what way is it not working?  Error messages?



Jason Wharton



From: []
Sent: Thursday, June 01, 2017 11:13 AM
Subject: [IBO] ib_clientlib


Pass the full path but it did not work.
I must be making another mistake.


Em 01/06/2017 13:56, 'IBO Support List' supportlist@... [IBObjects] escreveu:


If you supply the DLL name, you will likely also need to provide the complete path with the filename.


From: []
Sent: Thursday, June 01, 2017 7:37 AM
Subject: Re: [IBO] Re: IBO 5.9.1 Build 2522 has been releas

Is it possible to load fbclient.dll with a custom name? Example: meufbclient.dll ?