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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build - distributing with packages 2

Status
Not open for further replies.

doctorjellybean

Programmer
May 5, 2003
145
This has always confused the heck out of me, maybe somebody can explain it clearly.

At the moment I have no version of Delphi installed, having just done a clean reinstall of Vista 64 bit. Yesterday I decided to fire up a compiled executable of an old project I worked on years ago. It immediately displayed the following error message:

"This application has failed to start because rtl60.bpl was not found".

Now I do remember (vaguely) that in certain circumstances runtime libraries or packages have to be distributed with the compiled application.

What confuses me, is how does one know which libraries? I was under the impression that one can include it into the compiled executable? If I'm totally off the ball, apologies. It has been awhile since I had to deal with this issue, and even then I never fully understood it.

 
if you checked the option 'build with runtime packages' in the compiler (or linker) options then you need the bpl packages. recompile your app without runtime packages to get rid of the problem...

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
The answer depends on your Delphi version. I'm only familiar with D7 and before. File "..\Delphi\deploy.txt" (and/or "deploy.rtf") lists all the Runtime Packages.

These files are only required IF the application was built with "Build with runtime packages" un-checked in Menu > Project > Options > Project Options > Packages.

Press the Help button at the bottom of the above dialog for more information.

There may be other issues running under Vista64 that I am unfamiliar with. I am D7 under XP-SP3.


Roo
Delphi Rules!
 
Thanks guys!

Am I correct in thinking that, if I use a 3rd party component which has a design and runtime package, I must include the runtime package with the executable?
 
no, only if you use the "Build with runtime packages" option.

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top