|
Post by Kenth Nasstrom on Dec 21, 2003 16:53:24 GMT -5
Hi Kevin,
I purchased the pro version as I have tried it and found vclzip to be easy to use. I also bought it for the sfxstub and the source.
I have tried to do a recompile of the stub included in the sfxsrcen.exe using Delphi 2.0, Delphi 3.0 and Delphi 6.0 and it wont compile in any of them. In several places are there reference to a .dof file one should not touch, but it is not included in the package.
So, if i install the source, open it in lets say Delphi 3 and press compile.
Should it compile straight of?
The errors I get are the following,
C:\VCLZip\SFXSRC\SFXgbls.pas(54) Error: Undeclared identifier: 'LongWord' C:\VCLZip\SFXSRC\SFXgbls.pas(103) Error: Undeclared identifier: 'Int64' C:\VCLZip\SFXSRC\SFXmisc.pas(77) Error: Undeclared identifier: 'Int64' C:\VCLZip\SFXSRC\SFXmisc.pas(248) Error: Invalid typecast C:\VCLZip\SFXSRC\SFXmisc.pas(248) Error: Invalid typecast C:\VCLZip\SFXSRC\SFXmisc.pas(249) Error: Invalid typecast C:\VCLZip\SFXSRC\SFXmisc.pas(249) Error: Statement expected, but expression of t ype 'Integer' found C:\VCLZip\SFXSRC\SFXmisc.pas(250) Error: Invalid typecast C:\VCLZip\SFXSRC\SFXmisc.pas(452) C:\VCLZip\SFXSRC\sfxinflt.pas(35) Fatal: Could not compile used unit 'SFXmisc.pa s'
both in Delphi 3 and 3. Delphi 6 complains about typecasts.
What I want to do really is to change the icon and nothing else :-)
Tia
Kenth
|
|
|
Post by Kevin on Dec 22, 2003 10:03:45 GMT -5
Since it has been modified to handle larger files, it can't be compiled by D3 or lower because there is no Int64 capabilites. But D6 should compile it, with one modification. I downloaded the source and I did get the following error when I tried it:
"Constant object cannot be passed as var parameter"
To fix this, go into Compiler options and check (turn on) "Assignable typed constants".
To be sure you have all the same things checked, here's what I have tune on (checked):
Strict var-strings Extended Syntax Open Paramters Huge strings Assignable typed constants
I'm not sure they are all necessary, but that is what I have set.
I am not gettig the typecast error that you are getting, even without the dof file.
|
|
Kenth The Designer Nasstrom
Guest
|
Post by Kenth The Designer Nasstrom on Dec 23, 2003 4:05:05 GMT -5
Thank's for your help Kevin.
I'll recompile in D6 later according to your instructions.
Saludos and
Merry Christmas and a Happy New Year!
/Kenth
|
|
|
Post by Kenth Nasstrom on Dec 29, 2003 16:09:09 GMT -5
Everything working according to your tests now Kevin!
Thanks.
Kenth
|
|