I am frustrated and tired of trying. I am upgrading code for an application written in Delphi6 to Delphi7. Everything compiles fine and the application runs fine but as soon as it tries to run a package I get an error:
"The application has failed to start because rtl60.bpl was not found. Re-installing the application may fix this problem."
Then it throws an access violation and says unable to load "PACKAGE NAME " package.
The application heavily relies on packages, rather is made up of packages. I have tried following:
1. checked all the library paths
2. deleted all the dpc and dcu files before rebuilding the delphi6 code in Delphi7.
3. Rebuild all the third party packages (ones I had the source code for)
4. Searched for rtl60.bpl on the hard disk (Didnt find any)
Following piece of code throws the message:
function TForm1.RunDLLForm(aName: ShortString; aControl: TWinControl): Boolean;
Result := False;
aPackageRegItem := PackageRegister.Find(aName);
if not (aPackageRegItem.AccessLevel = lNone) then
libHandle := LoadPackage(aPackageRegItem.Filename); //ERROR HERR..