|Subject||Re: [IBO] ib_clientlib|
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.
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.
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?
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.
Is it possible to load fbclient.dll with a custom name? Example: meufbclient.dll ?