[DUG] Can't Load Package

David Brennan dugdavid at dbsolutions.co.nz
Fri Aug 17 15:53:55 NZST 2007


If you put your C:\Pack11 directory into the Windows Path environment
variable then you shouldn't need to put the runtime packages into System32
any more.

 

We compile all our packages into a particular directory by script and it
works passably as new 3rd party packages come out (we haven't changed Delphi
version in forever though!)

 

David.

 

 

 

  _____  

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Rohit Gupta
Sent: Friday, 17 August 2007 3:44 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Can't Load Package

 

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   <mailto:rohit at cfl.co.nz> rohit at cfl.co.nz

Web     <http://www.cfl.co.nz/> 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/416a4668/attachment-0001.html


More information about the Delphi mailing list