Archived

This topic is now archived and is closed to further replies.

cmdkeen

Dlls needed for BCB5 apps

Recommended Posts

hello, I''m nearly done with my latest project, a 2d platformer. I made some nice editors with Borland C++ Builder 5. When I want to start them I get loads of errors about missing DLLs. These are VCL dlls. So here comes my question: 1. Which dlls do I have to distribute along with the editor ? 2. Do I have to make them avaiable myself or is there somthing like a Borland Dll pack avaiable from any Borland site ? 3. Is it legal to put these Borland Dlls on my site for downloading ? 4. And finally how can I reduce the dependencies of my progs ? I''m quite sure not every dll is needed because I dont use all VCL packages. thanx for any help

Share this post


Link to post
Share on other sites
1. Which dlls do I have to distribute along with the editor ?

Depends On the DLLS you use, and depends if you are compiling with run-time packages/libraries. If you dont compile with run-time packages

2. Do I have to make them avaiable myself or is there somthing like a Borland Dll pack avaiable from any Borland site ?

Dont know :/ search around.
[Edit]
http://perso.infonie.fr/revolution/GLScene/Delphi5-BPLs.zip
[/Edit]

3. Is it legal to put these Borland Dlls on my site for downloading?

Hmm, looking througth the file "DEPLOY.TXT"
quote:

2.2 INPRISE Runtime Packages
----------------------------
In accordance with the General Terms That Apply to Compiled
Programs and Redistributables, you may redistribute
INPRISE-supplied runtime packages only for the purpose of
executing application programs created with Delphi. You may
not modify these packages in any way. By default the
redistributable runtime packages are installed in the
\Windows\System directory (for Windows95) or
\Windows\System32 (for Windows NT).

Although this software may include packages other than
those listed below, only the packages listed below are
redistributable.

You may NOT redeploy INPRISE-supplied design-time-only
packages. You may not recompile or redistribute any
INPRISE-supplied components or libraries for use by other
developers.

Packages that you develop may not have the same names as
INPRISE-supplied packages. If you distribute component
libraries or other packages, it is recommended that you
avoid using the default DCLUSR50 package name, since this
will cause naming conflicts with other developers.

....

2.5 Runtime packages: Standard Edition
--------------------------------------
If you are a licensed user of Delphi 5 Standard, redist-
ributable runtime packages include the following:

VCL50.BPL
VCLDB50.BPL
VCLJPG50.BPL
VCLSMP50.BPL
VCLX50.BPL




4. And finally how can I reduce the dependencies of my progs ? I'm quite sure not every dll is needed because I dont use all VCL packages.

Dont use run-time packages. That reduces the # of dependencies BUT the trade off is a massive increase in the size of your program. <100k verse >500k. Thus if your planning to distribute more than one exe or have custom dlls using the VCL, it would be a



How ever, this is based on what I know about Delphi not C++ Biulder. But C++ Biulder uses the same back-end compiler as Delphi.

Edited by - ggs on July 26, 2001 7:30:41 AM

Share this post


Link to post
Share on other sites
In Project Options, go to the Linker page. Uncheck ''Use dynamic RTL''. Go to the Packages page and uncheck ''Use runtime packages''. This will give you a single executable with no need for external DLLs (bar any DLLs that you explicitly link to).

Steve ''Sly'' Williams  Code Monkey  Krome Studios

Share this post


Link to post
Share on other sites