Subject | Re: [IBO] ib_clientlib |
---|---|
Author | joel |
Post date | 2017-06-01T20:36:24Z |
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.
Att.
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: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com ]
Sent: Thursday, June 01, 2017 12:10 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] ib_clientlib
its work !
Is correct ?
procedure TForm5.IB_Connection1BeforeConnect(Sender: TIB_Connection);
var
IB_ClientLib : TIB_ClientLib;
begin
IB_ClientLib := TIB_ClientLib.Create(Self);
IB_ClientLib.Filename := 'c:\temp\fb3client.dll';
IB_Connection1.GetSession.DefaultSession.IB_ClientLib := IB_ClientLib;
end;
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?
Thanks,
Jason Wharton
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Thursday, June 01, 2017 11:13 AM
To: IBObjects@yahoogroups.com
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: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Thursday, June 01, 2017 7:37 AM
To: IBObjects@yahoogroups.com
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 ?
Att.