Page 1 of 1

very strange error in 4.00.08a

Posted: Sat Oct 25, 2008 1:53 pm
by airsoft
I've downloaded the test package and I've tried to use it and got this

C:\1\>dcc32 q.dpr /u<install_path>\package\d7;<install_path>\pngimage

my test file: q.dpr
---------------------------------------------------------
{$A1}
{$APPTYPE CONSOLE}

program q;

uses XLSReadWriteII4;

var X : TXLSReadWriteII4;

begin
X := TXLSReadWriteII4.Create (nil);
try
X.Filename := 'test.xls';
X.Read;
finally
X.Free;
end;
end.
---------------------------------------------------------

q.dpr(6) Fatal: Unit Escher4 was compiled with a different version of XLSPNGImage.TPNGObject

I've used for test Delphi 7 + SP1
my IDE shows version 7.0 (Build 8.1)

standart 7.0 shows (Build 4.xxxx)

Posted: Sun Oct 26, 2008 9:57 am
by larsa
Hello

Have you set the search path correct, and have you downloaded the correct version of the package. Please also check that you don't have aby other versions installed.

Posted: Sun Oct 26, 2008 3:17 pm
by airsoft
Hi,

The problem exists even after I remove all older versions

Hint: no problems with 4.00.05a

and strange but when I remove sources from PNGImage folder the compiler still wants access to .PAS files

also I've tried to copy PNGImage\*.dcu and subfolder OBJ to folder Package\D7 i.e. trying the compiler to use your files from installation package

:( same result

another thing

When I've used the IDE it produces the error "
but when do it from the command line everything is OK

It is ok now

Posted: Sun Oct 26, 2008 3:46 pm
by airsoft
Don't know why but renaming of all *.pas files from "PNGImage" folder to *.pas.org and everything is OK

seems you've put somewhere in your package to search files from folder PNGImage there, because one of my tries was to put all *.dcu files and OBJ folder to be part of Package\D7

anyway it is ok now