|
I have been using a bpl approach on my latest version of my addins, it seem to be working well, I have a Delphi bpl, basically a package that I have created which includes all of the Delphi units and third party units which do not get updated frequently. A have another package which I use for shared forms, frames and code and also some third party components which do tend to be updated frequently. Then my main dlls, ( I write Office adidns) which use the packages, I also have a web update component that uses the packages as well, so my main dlls are around 500 k, my update exe which is about 100k and the packages.
Using this approach the Delphi package, which would rarely change, is about 2.1 Mb, (877kb compressed), the shared package 2Mb (688kb compressed) and main dlls around 500kb (100kb compressed). So the web update works quick and easy, the files are tiny to update, and seems to work really well. The trick with packages I found was that if a major change is made to a package then anything that uses that package must also be recompiled and checked to ensure it can find the new entry points etc, but that’s just normal I guess.
It is great to be able to reuse the code as easily as you can with packages.
Regards
Jason Coley Manawatu Software Solutions email: [EMAIL PROTECTED] web: http://www.software-solutions.co.nz
-----Original
Message-----
Hi all. Yeah I know, its sad to be having a day off, but still thinking about work :-)
Anyway, I have finally got a project where I will or want to use packages to modulize the app. I have already developed the first part based on an article in the Delphi Informant Mag. The only thing I am kinda confused about is, to get the app. that looks for and loads the packages at runtime, I have to set the "Compile with Runtime Support", or whatever its called, switch in the project settings. This means that I need to now supply the 6mb VCL packages and what ever else I use, like ADO, etc. This is not going to be any good for this project as it has to go to over 100 places.
SO, can I do the above slightly differently so I can just distribute the EXE without have to also send out the runtime BPL's too? Or am I better to use some 3rd party plugin tool?
Cheers,
Jeremy Coulter
------------------------------------------------------------------------ All email scanned with Nortons Antivurus 2002 ------------------------------------------------------------------------
|
Title: Message
- [DUG]: Modulizing Apps. with Packages Jeremy Coulter
- Re: [DUG]: Modulizing Apps. with Packages Todd Martin
- [DUG]: Modulizing Apps. with Packages Jeremy Coulter
- RE: [DUG]: Modulizing Apps. with Packages Max Nilson
- RE: [DUG]: Modulizing Apps. with Packages vss
- Re: [DUG]: Modulizing Apps. with Pack... Phil Middlemiss
- RE: [DUG]: Modulizing Apps. with Packages Witherden, Stephen
- RE: [DUG]: Modulizing Apps. with Packages James Low
- RE: [DUG]: Modulizing Apps. with Packages Jason Coley
- RE: [DUG]: Modulizing Apps. with Packages Myles Penlington
