Pelles C forum

C language => Tips & tricks => Topic started by: TimoVJL on July 05, 2017, 06:38:15 PM

Title: Zip Utils test
Post by: TimoVJL on July 05, 2017, 06:38:15 PM
Zip Utils (http://wischik.com/lu/programmer/zip_utils.html) are written in C++
Here is test project in C for it.
Maybe someone want to fix it.

EDIT 2017-07-06: XZip.cpp to XZipC.c

EDIT: 2017-11-30: ZUnuzip.cpp to ZUnZipC.c
Title: Re: Zip Utils test
Post by: WiiLF23 on September 05, 2024, 08:16:27 PM
I know this is very old. But I am researching compression formats, and in Pelles C 12 this shows up:

XZipC.c(93): error #1050: Redefinition of macro '_USE_32BIT_TIME_T', previously defined at ?!.

Removing the line resolves the compiler error.
Title: Re: Zip Utils test
Post by: John Z on January 04, 2025, 11:57:06 AM
Hi WiiLF23, TimoVJL

Have either of you tried to convert these to 64 bit?



John Z
Title: Re: Zip Utils test
Post by: TimoVJL on January 04, 2025, 06:10:39 PM
Pelles C 12 pocc crash with that code  :(

TZip / TUnZip might be fixed easily
Title: Re: Zip Utils test
Post by: John Z on January 04, 2025, 09:18:42 PM
Ah - ok,

Thanks TimoVJL, I look there.

John Z