Subject RE: [IBO] App using DLLs
Author Kevin Stanton
That's exactly what I've run into - the memory issue using packages and I'm
loading/unloading at runtime. I
I'm very much the same situation as you with VCL, IBO, Report Builder, Raize
and a couple more.
I've also run into the resource issues on Win 9x - invalid Win32
application.
This is all why I am looking into DLLs. My exe is over 13 mb with runtime
packages.
Ugh...seems like there is no good/perfect solution.
Thanks for the reply.
Kevin


-----Original Message-----
From: Geoff Worboys [mailto:geoff@...]
Sent: Tuesday, November 11, 2003 10:08 PM
To: Kevin Stanton
Subject: Re: [IBO] App using DLLs


> Is there an available example of calling a form in a DLL,
> passing the database connection handle?
> My app has grown quite huge and I need to modularize it.

Not sure about examples with DLLs, but a related note...

It is generally much easier to modularise using runtime
packages - BPLs (which are just special DLLs). Its the way
Delphi/BCB is designed to be modularised.

The downside is that the app will use significantly more
memory - if I remember correctly one of my apps used something
like 12-15Mb more RAM when running using runtime packages as
opposed to running as an all-in-one executable.

But then that example comes from a library using runtime
packages for the VCL, IBO, DreamComponents, ReportBuilder and
my own packages. So your situation may vary. I ended up
going back to an all in one - which meant it could run more
efficiently on terminal server (but not at all on Win9x
because I ran into resource issues).

With runtime packages you dont generally need to worry about
issues such as connection handle sharing - although there
again it depends on exactly how you implement.

--
Geoff Worboys
Telesis Computing


Yahoo! Groups Sponsor
ADVERTISEMENT





___________________________________________________________________________
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 the Yahoo! Terms of Service.


[Non-text portions of this message have been removed]