Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: rtl240.bpl The program can't start because rtl240.bpl is missing



Permlink Replies: 2 - Last Post: May 25, 2017 4:38 PM Last Post By: Dan Ambrose
Dan Ambrose

Posts: 87
Registered: 12/11/03
rtl240.bpl The program can't start because rtl240.bpl is missing
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 25, 2017 3:24 PM
rtl240.bpl error

I'm using C++ Builder professional ver 10.1 Berlin and Update 1
I have an application that I have been developing with this and the past 2-3 versions of C++ builder

My end users and suddenly getting this error

The program can't start because rtl240.bpl is missing

I don't get the error when run from the development computer. Something has happened to the project file that is causing this. I have played around with project options and cant seem to stop this.

I used notepad++ to open up the project file but don't find any reference.

Does any body have any suggestions ?

I have a valid license that entitles me to a free upgrade to the newest latest version but I don't want to rush into that

I'm getting old and cant remember things. I seem to recall having a similar problem with code guard turning on by itself . Randomly every 6 months over the past 2-3 years suddenly I get a similar deployment errors. My end user will get a similar errors that I don't get on my development machine. Then I spend what seems like a day troubleshooting. Sometimes I have had to edit the project file with notepad ++ to fix the codeguard error. Please not I don't use codeguard intentionally. I don't want to use it and I just want the EXE file to get everything linked in.

Maybe I need to create a new project file? How do I do that ?

Dan St Louis Missouri

Asger Joergensen

Posts: 370
Registered: 11/18/08
Re: rtl240.bpl The program can't start because rtl240.bpl is missing
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 25, 2017 3:47 PM   in response to: Dan Ambrose in response to: Dan Ambrose
Hi Dan

Dan Ambrose wrote:

rtl240.bpl error

I'm using C++ Builder professional ver 10.1 Berlin and Update 1
I have an application that I have been developing with this and the past 2-3 versions of C++ builder

My end users and suddenly getting this error

The program can't start because rtl240.bpl is missing


Have you checked these settings for making a stand alone exe:

Project > Options > C++ Linker
uncheck "Link with Dynamic RTL"

Project > Options > Packages > Runtime Packages
uncheck "Link with runtime packages"

Best regards
Asger
Dan Ambrose

Posts: 87
Registered: 12/11/03
Re: rtl240.bpl The program can't start because rtl240.bpl is missing
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 25, 2017 4:38 PM   in response to: Asger Joergensen in response to: Asger Joergensen
Asger

I just double checked. Link with dynamic RTL is OFF / false
But This wasn't and changing it fixed it

uncheck "Link with runtime packages"

Thanks for the quick reply.


Asger Joergensen wrote:
Hi Dan

Dan Ambrose wrote:

rtl240.bpl error

I'm using C++ Builder professional ver 10.1 Berlin and Update 1
I have an application that I have been developing with this and the past 2-3 versions of C++ builder

My end users and suddenly getting this error

The program can't start because rtl240.bpl is missing


Have you checked these settings for making a stand alone exe:

Project > Options > C++ Linker
uncheck "Link with Dynamic RTL"

Project > Options > Packages > Runtime Packages
uncheck "Link with runtime packages"

Best regards
Asger
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02