[delphizip] Re: New build for TZipBuilder

  • From: Roger Aelbrecht <Roger.Aelbrecht@xxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Sun, 12 Oct 2008 15:05:51 +0200

Gene Norris wrote:
> Hi, I finally got around to upgrading from 1.72 to 1.79 and am having 
> a problem getting the Demo's to run.  Specifically Demo 1 gets the 
> following errors:
> 
> If NO_SPAN is NOT defined, I get the following errors:
> 
> [Linker Error] Unresolved external '__fastcall 
> ZipBuilder::TCustomZipBuilder::GetOnGetNextDisk()' referenced from 
> C:\PROGRAM FILES\WINAPPS\BORLAND\CBUILDER6\PROJECTS\ZIPBUILDER\CDEMO1\MAIN.OBJ
> [Linker Error] Unresolved external '__fastcall 
> ZipBuilder::TCustomZipBuilder::SetOnGetNextDisk(void __fastcall 
> __closure(*)(System::TObject *, int, int, System::AnsiString, 
> bool&))' referenced from C:\PROGRAM 
> FILES\WINAPPS\BORLAND\CBUILDER6\PROJECTS\ZIPBUILDER\CDEMO1\MAIN.OBJ
> [Linker Error] Unresolved external '__fastcall 
> ZipBuilder::TCustomZipBuilder::GetOnStatusDisk()' referenced from 
> C:\PROGRAM FILES\WINAPPS\BORLAND\CBUILDER6\PROJECTS\ZIPBUILDER\CDEMO1\MAIN.OBJ
> [Linker Error] Unresolved external '__fastcall 
> ZipBuilder::TCustomZipBuilder::SetOnStatusDisk(void __fastcall 
> __closure(*)(System::TObject *, int, System::AnsiString, 
> System::Set<Zbcore::ZipDiskStatusEnum, 0, 4>, 
> Zbcore::TZipDiskAction&))' referenced from C:\PROGRAM 
> FILES\WINAPPS\BORLAND\CBUILDER6\PROJECTS\ZIPBUILDER\CDEMO1\MAIN.OBJ
> 
> If it IS defined, I get the following errors:
> 
> [C++ Error] AddFiles.cpp(101): E2316 'MaxVolumeSize' is not a member 
> of 'TZipBuilder'
> [C++ Error] AddFiles.cpp(102): E2316 'MaxVolumeSize' is not a member 
> of 'TZipBuilder'
> [C++ Error] AddFiles.cpp(107): E2316 'KeepFreeOnDisk1' is not a 
> member of 'TZipBuilder'
> [C++ Error] AddFiles.cpp(108): E2316 'KeepFreeOnDisk1' is not a 
> member of 'TZipBuilder'
> 
> CodeDefines.h is as shipped.  The only defines active are 
> USE_COMPRESSED_STRINGS & ALLOW_2G
> 
> The defines for NO_SPAN I set in the Projects Options during build.
> 
> Thanks for your help, Gene.
> 
> 
> 

The above errors indicate that the component is installed with NO_SPAN 
defined.
 From the ZipBuilder.h files
#ifndef NO_SPAN
   TGetNextDiskEvent __fastcall GetOnGetNextDisk(void);
#endif

IF NO_SPAN is defined then this line will be omitte'd and in Demo1 you 
get the error

As the Demo1 is written it assumes that the component is installed with 
NO_SPAN NOT defined.



-- 
Roger Aelbrecht


-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: