very strange error in 4.00.08a

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
airsoft
Posts: 13
Joined: Sun Mar 13, 2005 5:41 pm
Contact:

very strange error in 4.00.08a

Post 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)
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post 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.
Lars Arvidsson, Axolot Data
airsoft
Posts: 13
Joined: Sun Mar 13, 2005 5:41 pm
Contact:

Post 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
airsoft
Posts: 13
Joined: Sun Mar 13, 2005 5:41 pm
Contact:

It is ok now

Post 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
Post Reply