[DUG] Can't Load Package

Rohit Gupta rohit at cfl.co.nz
Fri Aug 17 15:43:52 NZST 2007


Steve,

I tear my hair out with every new version of Delphi as by that time I 
have forgotten the fix for this.  While its fresh in my brain from this 
time around..


When it says that it cant package x in dir y, it is lying.

1.  What it usually means is that it cant find what package x depends on 
in dir y.  What that is you have to figure out.  This happens in my case 
where most of teh design time packages are dependent on the runtime 
packages.  The rutimers need to be in system32

2.  Sometimes it means that it cant find package x is the path 
variable.  Fix again is to copy them to system32.

Arrghhh..  This time around with D2007, to avoid this problem, I 
installed ALL packages in the same short directory C:\pack11.  So I know 
that they are all there, all the dcps and bpls.  Yet, as pointed out 
above, some have to be in system32.  Then it still wants access to the 
ruddy flaming dcu files and I have to give the path to each package's 
source directory in the project options, for all 40+ projects..  Whats 
the point of the package if it wants the dcus ?


Steve Peacocke wrote:
> Good afternoon All,
>
> Am I missing something here?
>
> I recently installed 6 seperate component packs under the single TMS
> Component Suite Pro. It comes in 8 different emails each containing a
> seperate part of this "Component Suite Pro" with each requireing a
> seperate manual installation process (Sigh!).
>
> I am currently only using the Unicoder part of TMS. However, every
> time I load my project I get the following error...
>
> Error reading Form
> Can't load package C:\Development\Components and
> Tools\TMS\IntraWeb\iw9msded2007.bpl.
> The specific module could not be found. Ignore the error and
> continue? NOTE: ignoring the error may cause components
> to be deleted or property values to be lost.
>
> ... and indeed I often find the Delphi has indeed removed one (only
> one but a different one each time) of the unicode components. All
> other unicode components remain intact.
>
> I can look in that directory and see the offending file exactly as stated.
>
> Under Tools/Options / Library - Win32, I have added the correct path
> to the Library Path and have even added it to the Browsing Path.
> However I still get the error and some component somewhere on my large
> multi-tabbed form, is lost.
>
> Now this project specifically doesn't use the Intraweb TMS components
> - in fact I do no web stuff at all on this computer.
>
> Have I failed to set something? have I run over the limit of the
> number of directories that early versions of Delphi were plagued with?
> have I insulted something somewhere bnecause I gave up and only
> installed 6 of the 8 manually and seperately installed component
> packs?
>
> The component packs have been registered and I have ource code installed.
>
> Any assistance here would be appreciated.
>
>   

-- 
*Rohit Gupta*
* B.E. Elec.   M.E.   Mem IEEE    Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
** 
*Tel*     +64 9 4892280
*Fax*    +64 9 4892290
*Email  *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web    *www.cfl.co.nz <http://www.cfl.co.nz/>
 
------------------------------------------------------------------------
This email and any attachments contain information, which is 
confidential and may be subject to legal privilege and copyright. If you 
are not the intended recipient, you must not use, distribute or copy 
this email or attachments. If you have received this in error, please 
notify us immediately by return email and then delete this email and any 
attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20070817/0ce80561/attachment-0001.html


More information about the Delphi mailing list