Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to include the bpl and dll files in c++ exe?

Status
Not open for further replies.

besanushi

Programmer
Oct 28, 2006
4
0
0
AL
Hello everybody!

I have done a small exe in c++ builder. When I run it at my PC everything is Ok. But when I copy it to another computer I face some errors that have to do with some files and libraries such as vcl60.bpl, rtl60.bpl, BORLNDMM.DLL etc. If I copy these files to the computer it is executed properly. I was thinking if is there any way to include these files within the exe in order to avoid copying the files. In fact I have seen some exe that function this way but I don't know how to do this in borland c++ builder.

Thank you!
 
Project -> Options... -> Packages. Uncheck "Build with runtime packages".

Project -> Options... -> Linker: Linking: uncheck "Use Dynamic RTL"

Totte
Keep making it perfect and it will end up broken.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top