Hm ok let me a little bit time i test this tonight again. Maybe it could be a different Delphi 7 version, i have only the first version of it installed without patches or updates.
Zitat:
[Fatal Error] Test.dpr( 8 ): Bad packaged
unit format: ..\DECMath.dcp.ConsoleForm
Then I opened ..\DEC_D7\Test\Test.bpg and no errors were shown. Then I hit F9 and it suddenly complained about ConsoleForm.pas.
It seems to me that the compiler try to rebuild ConsoleForm.DCU and logicaly it can'nt find ConsoleForm.pas because it's not included. But why it complains the ConsoleForm.DCU into DECMath.dcp (DCPs are only a collection of precompiled DCUs into one file) is me unknown.
Try to move ConsoleForm.DFM (unmodified !!) to folder \test\. I suppose that could be a problem because DFMs as resources are'nt included into DCUs and even DCPs.
Iff nothing help i try to remove ConsoleForm.pas from DECMath
Package and give you the
PAS Source. Then you can recompile it separately.
Best Regards, Hagen