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

Borland 6 - application failed - not finding bpl file

Status
Not open for further replies.

cindy13732

Technical User
Jun 9, 2011
9
US
I created a myProg.bpl file in directory A, then created an application in directory B. The application added an entry on the options->packages tab for the bpl. The directory path B is contained in the include and library paths, and was browsed to when entering the .bpl.

Everything compiles and links ok. When I try to execute the application, I get a pop-up box with the message:
This application has failed to start because myProg.bpl was not found. Re-installing the application may fix the problem"

I click ok, and the CPU window opens at address 0c0040123C (COW32.obj), which is a jump. I have tried to delete/reinput the .bpl on the package tab, but it is now grayed out and cannot be modified.
I have exitted, and reentered the application, and have tried to run the .exe file.

What should I try next?






 
Hmmm... What type of files are in directory A, besides *.bpl, and directory B?

This is what I'm thinking. You may have to rename directory A and create a new one. Then in BCB6 create a new BPL. Then use Shift+F11 (or Project->Add to Project) to add the files from directory B. I'm not really certain what went wrong.



James P. Cottingham
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
Directory A contains all of the Borland generated files (bpl, bpi, bpk, cpp, etc), except objs, and most of the the source code for the package.

Directory B (the top level directory) contains the Borland generated files for the project (application), the main.cpp, main.h, and main.dfm files.

The rest of the source code is in subdirectories off Dir B, this includes Dir A.

I have tried recreating both the the package (myProj.bpl) and the project (mainProg.bpk).

All of the code, except main.cpp and mainProg.cpp, is written in c, not c++.


I was able to put all of the code in the mainProg package (over 700 files) and it seems to work now. I tried this previously and kept geting Access errors during linking. However any actions within Borland take a long time to execute.


I would still like to be able to use the package (bpl) method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top