Subject Re: [IBO] DLL/BPL and app with lots of modules
Author Steve Fields
I would like to use BPLs but isn't there the problem that if I made
changes to one BPL then I would have to rebuild/compile the whole
app. That would make sending small update files over the internet
pretty bad.
Or is that just in the case where I were to change from
D4 -> D5 or D5 -> D6?

Steve Fields

Daniel Rail wrote:

>If you are looking at only having one connection, then DLLs are not the
>answer. Look at the BPLs or maybe a plugins system(you can find a list on
>Torry's Page or Delphi Super Page).
>
>Daniel Rail
>
>At 28/01/2002 10:08 PM, you wrote:
>
>>Tried it. Nope. (Also need to specify a password, etc. )
>>Might have worked in a older version of IBO but doesn't now.
>>Plus this will add up to a lot on connections if I were to
>>call this numerous times in a app.
>>Most every time I tried this I got a AV and then at one time
>>Delphi even crashed out on me.
>>Still trying to figure this one out....
>>
>>Steve Fields
>>
>>Daniel Rail wrote:
>>
>>>Pass the connection parameters that are not constant for each installation
>>>to the DLL(pathname, server, protocol, username, password). i.e.
>>>ProcName(Server, Pathname: PChar; Protocol: TIB_Protocol);
>>>
>>>At the present time, I don't even reference the TIB_Connection of the main
>>>executable.
>>>
>>>Example:
>>>ProcName(Server, Pathname: PChar; Protocol: TIB_Protocol);
>>>begin
>>> DLLConn.Server := String(Server);
>>> DLLConn.Pathname := String(Pathname);
>>> DLLConn.Protocol := Protocol;
>>> DLLConn.Connect;
>>> try
>>> {
>>> ...
>>> do whatever you need to do
>>> ...
>>> }
>>> finally
>>> DLLConn.Disconnect;
>>> end;
>>>end;
>>>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>