Yep, Just had the same problem with runtime/designtime packages in the D6 IDE.
The problem is not what it seems. In my case by putting the other runtime\designtime packages that the package referenced into the Delphi\bin directory (ie the same directory as the application), and then restarting D6 solved the problem.
 
I think the problem occurs because it finds a older BPL on the search path before it finds you new BPL, and the older BPL references vcl50, which is what causes the problem.
Myles.
 
-----Original Message-----
From: Steve Galyer [mailto:[EMAIL PROTECTED]]
Sent: Friday, 31 August 2001 12:25 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Runtime Packages problem

I am converting a project from D5 to D6, it uses runtime packages.
 
The problem I am having is that when I attempt to run the application and try to dynamically load a package I get the following error message:
 
"Cannot load package 'vcl50'. It contains unit 'AppEvents', which is also contained in package 'vcl60'.
 
The application runs fine up until the point where the package is dynamically loaded.
 
I have rebuilt everything - even down to the extent of creating a new package and adding the required forms; also recreated the application itself.
 
I have done a search of of all directories containing anything associated with the project, also the directory containing the BPL files for custom components, for any file containing the text vcl50 - nothing shows.
 
Anyone got any ideas?
 
Regards
Steve Galyer
 
 

Reply via email to