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!

Missing vcl50.bpl ??? 2

Status
Not open for further replies.

Tlogist

Programmer
Jan 13, 2002
5
0
0
FI
I made a program with C++ Builder5.0 and also used VCL in
it. It works great on the computer I made it, but when
I copy the .exe -file to another computer it gives
me this error : Missing file VCL50.BPL. Why??
 
Tlogist~
You have to change some options to make it run on other computers:

Open your project and goto your Project->Options under the main menu, or press Shift+Ctrl+F11.

Once your options menu is up, goto Packages

Under packages uncheck "Build with runtime packages",
-it's towards the bottom

After that goto Linker, (also under options) and uncheck "Use Dynamic RTL"
-towards the top

Then recompile your program and it will work on other machines without the errors.
I explained it as best I could, if you get problems just tell me.

Cyprus
 
I think the ShellExecute API will work. For example:
Code:
AnsiString URL = "[URL unfurl="true"]www.tek-tips.com";[/URL]
ShellExecute(NULL, NULL, URL.c_str(), NULL, "C:\\TEMP", SW_SHOWNORMAL);
should launch your default browser. Look at thread101-85540 for more info. James P. Cottingham

I am the Unknown lead by the Unknowing.
I have done so much with so little
for so long that I am now qualified
to do anything with nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top