I made a change to db.pas that I would like to apply and use with an
application. In order to do this I need to recompile at least one of the rtl
bpls right?
I can't find any project files for the RTL bpl's, I don't know which source
files goes into which bpl and I don't even know in which RTL bpl db.pas
resides - ie. im very stuck ...
I really hope someone can help me out ...
Thanks in advance,
Casper
PS: I use Delphi 2007.
--
------------------------------------------------------------
Casper Kirkegaard, Technical Physics M.Sc
The HydroGeophysics Group
Department of Earth Sciences, University of Aarhus
Hřegh-Guldbergs Gade 2, 8000 Ĺrhus C, Denmark
Phone: +45 8942 9467
www: www.gfs.au.dk (Danish) / www.hgg.au.dk (English)
E-mail: mailto:cas...@geo.au.dk
-----------------------------------------------------------
> I made a change to db.pas that I would like to apply and use with an
> application. In order to do this I need to recompile at least one of
> the rtl bpls right?
Not necessarily. You can build without packages.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Everything You Need to Know About InterBase Character Sets:
http://blogs.teamb.com/craigstuntz/articles/403.aspx
> My application uses a lot of other packages ~30 bpls. Can I set it up
> such that I use my own packages, but the RTL is compiled from source?
> If so, how?
You can use only the RTL packages on which your app depends. If none
of your packages depend on db.pas, then you don't need to use the
package that contains it.
If your packages do depend on db, however, then yes, you need to use a
package which contains it. Doesn't have to be the same as the VCL's
package, however. In fact, it legally *cannot* be (read the license
agreement WRT recompiling packages. If you recompile a package, you
*must* redistribute it under a different filename, in order to avoid
DLL hell.
So make your own package which contains whatever you need from the RTL
for your custom-written packages, and have your packages and app
require that instead of the RTL's compiled packages.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Useful articles about InterBase development:
http://blogs.teamb.com/craigstuntz/category/21.aspx
Thanks
"Craig Stuntz [TeamB]" <craig_...@nospam.please [a.k.a. acm.org]> wrote
in message news:47d17c2b$1...@newsgroups.borland.com...
> I made a change to db.pas that I would like to apply and
> use with an application. In order to do this I need to
> recompile at least one of the rtl bpls right?
No. If you have runtime packages disabled, you can add the modified db.pas
file directly to your application project and it will override the RTL's
native code.
> I can't find any project files for the RTL bpl's
Because there aren't any. You are not allowed to recompile the RTL.
Gambit
> You are not allowed to recompile the RTL.
You can compile it, but you can't redistribute modified versions of
standard files.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Want to help make Delphi and InterBase better? Use QC!
http://qc.borland.com -- Vote for important issues
I want to experiment with some changes in runtime libraries (building
without packages is not an options since I use them for plugin
functionality) - how can I rebuild rtl60.bpl for example?
Thx,
Bruno
And thank you for your help so far ....
I have at least 4 or 5 packages which uses db, so I guess I will need to
create my own package. I actually starting doing that before I posted here
and found it involved a lot of trial and error. Removing packages from the
list, then compile and have a look at the errors because of package
depencies etc ... Is this the way to do it or can I find a list of source
files in each RTL bpl somewhere?
Regards,
Casper
"Craig Stuntz [TeamB]" <craig_...@nospam.please [a.k.a. acm.org]> wrote
in message news:47d1807f$1...@newsgroups.borland.com...