Subject Re: [IBO] DLL/BPL and app with lots of modules
Author Daniel Rail
At 29/01/2002 10:13 PM, you wrote:
> I am using Delphi 5. Would that be along the line of
>procedure Form1.DoProc(Hand : TIB_Handle);
> How can I get by without placing a TIB_Connction in
>the actual DLL/form. (When I do that there are all kind
>of password/protocall problems.)

If you use what Riho-Rene Ellermaa mentionned, you will not need
password/protocol. You are passing the TIB_Connection.dbHandle of the
calling program to the DLL and assign it to the DLL's
TIB_Conneciton.dbHandleShared. Here's how it would look like:

procedure DLLInterface(Handle: TIB_Handle);
DLL_IB_Connection.dbHandleShared := Handle;
do what you need to do

You don't have to worry about the server name, pathname, password, username
and protocol. It uses the connection that was already established.

Thanks Riho-Rene Ellermaa for the information. I just tried it and it
works fine. The documentation in the help refers to the BDE, and that's
probably why I turned away from it. Now, I'll use it.

Have a nice day.

Daniel Rail
Senior System Engineer
ACCRA Group Inc. (
ACCRA Med Software Inc. (