Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Linker    [ Add a report in this area ]  
Report #:  38382   Status: Closed
E2213 Bad packaged unit format
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Rolf T.
Report Type:  Basic functionality failure Date Reported:  1/5/2007 5:26:04 AM
Severity:    Serious / Highly visible problem Last Updated: 3/22/2007 2:41:28 PM
Platform:    All versions Internal Tracking #:  
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
4.00 out of 5
Total Votes: None
Description
I have 9 packages and 4 exe files in a project group.

When I run a build all I get

[Pascal Fatal Error] TimeSeriesChart.pas(17): E2213 Bad packaged unit format: c:\ne-wio\bin\Utils.dcp.Utils.Math

The help states:   When the compiler attempted to load the specified unit from the package, it was found to be corrupt. This problem could be caused by an abnormal termination of the compiler when writing the package file (for example, a power loss). The first recommended action is to delete the offending DCP file and recompile the package.

I try to delete the offending DCP file. This help the first time I run build all. If I do it again I get the same error.

I have no idea what the problem is.

Users with similar problems:
http://groups.google.com/group/borland.public.delphi.vcl.components.writing/browse_thread/thread/cd9014f7356965d/fdc7018a89698681?lnk=st&q=bad+packaged+unit+format+stefan+reiss

http://groups.google.com/group/comp.lang.pascal.delphi.components.usage/browse_thread/thread/19ad62c6e4940a70/b55abc0a94123d47?lnk=st&q=bad+packaged+unit+flying+objects

http://groups.google.com/group/borland.public.delphi.ide/browse_thread/thread/fea47e45e37b2329/b67f7b41e07d6275?lnk=st&q=bad+packaged+unit+corrado
Steps to Reproduce:
None
Workarounds
If I change the order of the exe project the error goes away.
Attachment
None
Comments

None

Server Response from: ETNACODE01