Helpful Information
 
 
Category: Delphi Programming
RTL70.bpl error when executable run on different machine

Hi

I have recently moved from D6 to D7.

Files that were created in 6 but now edited in 7 are giving RTL70.bpl errors when the user attempts to run the exe. There have been a few other *70.bpl errors, but this one is coming up all the time.

The message says that either it cannot be found (I looked and it was definetely there!!) or that it is invalid or corrupted. I have taken some obvious steps like reinstalling etc but have not yet found a solution.

Has anybody else experienced this?
Can anyone suggest a cure?

Cheers
ECSUK

There is a linker option "use runtime packages" or similar. Toggle it and try again. Your executable will probably increase in size since it will be statically linked then, but this should avoid the need for rtl70.bpl (and the others) completely.

I have not yet worked with D7, hope the option is still in the same place...

hth,
M.

PS: make sure you build the project, not only compile. I recommend deleting all compiled units first.

Thanks for the reply.

I have already tried that knowing it was an issue when switching from 3 to 6. Alas, it doesn't actually make any difference now.

I've tried distributing an up to date set of .bpl files to the user's pc, but all I ever get is..."The file is corrupt or invalid".

I have recompiled the app on different machines with different OS and obviously deleted all .dcu, but still no joy.

I'll keep trying, but if anybody else has a similar experience I'd like to know, as I wrote a simple app with a close button which runs on any machine without a problem!!

Thanks
ECSUK

Copy the files rtl7.bpl and vcl70.bpl from C:\Windows\system32 to the system where your program has to run and try again.










privacy (GDPR)