FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HB_ZIPDELETEFILES()
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
HB_ZIPDELETEFILES()
Posted: Wed Oct 05, 2022 09:38 AM

Hi,
seems that function HB_ZIPDELETEFILES() is missing from xharbour (201801) library. Anyone found a solution to replace or import it?

Thanks,
Taavi.

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: HB_ZIPDELETEFILES()
Posted: Wed Oct 05, 2022 09:36 PM

It is in hbzip.lib. Please download the latest xHarbour release from xharbour.org.

Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: HB_ZIPDELETEFILES()
Posted: Tue Dec 12, 2023 02:23 PM

Is it possible to use xHarbour (org) lib-s with xHarbour commercial builder?

When trying to link hbzip lib with xHarbour builder I get error:

xLINK: fatal error: Corrupt library: 'D:\xharbour\lib\hbzip.lib'.

Taavi

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: HB_ZIPDELETEFILES()
Posted: Tue Dec 12, 2023 04:04 PM

After linking in

[D:\xHB10272_xcc\xhb\lib\xhbzip.lib]

[D:\xHB10272_xcc\xhb\lib\xhbzipdll.lib]

I get error:

xLINK: fatal error: File not found: 'LIBCMT.LIB'.

After adding

[D:\xHB10272_xcc\xhb\c_lib\win\libcmt.lib]

New errors:

xLINK: error: Unresolved external symbol '__localtime64 referenced from xhbzip.lib(zip_xhb.obj)'.

xLINK: error: Unresolved external symbol '___security_cookie referenced from xhbzip.lib(zip_xhb.obj)'.

xLINK: error: Unresolved external symbol '@__security_check_cookie@4 referenced from xhbzip.lib(zip_xhb.obj)'.

xLINK: error: Unresolved external symbol '___stdio_common_vsprintf referenced from xhbzip.lib(zip_xhb.obj)'.

xLINK: fatal error: 4 unresolved external(s).

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: HB_ZIPDELETEFILES()
Posted: Tue Dec 12, 2023 04:12 PM

Are you using the new build or you are just using the hbzip.lib from the new build and the rest from the old one?

Posts: 97
Joined: Mon Nov 21, 2005 10:29 AM
Re: HB_ZIPDELETEFILES()
Posted: Tue Dec 12, 2023 04:37 PM
I am using xHarbour builder from 2018 january

\bin\xHb.exe says:

xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
Posts: 408
Joined: Fri Jan 29, 2010 08:14 PM
Re: HB_ZIPDELETEFILES()
Posted: Wed Dec 13, 2023 12:00 AM
Hello taavi:
On my blog you have the program pBackup ver 1.0 32bits from 2010 with all the sources.

I hope it helps you to see and test the code.

https://javierlloris.blogspot.com/2012/04/programa-backuprestore.html





Excuse my terrible English.

Greetings;
Javier LLoris
javierllorisprogramador@gmail.com

Blogs personales:
ProgramaciΓ³n: https://javierlloris.blogspot.com/
JaponΓ©s: https://bitacorajaponesa.blogspot.com/
Cubos de Rubik: https://www.instagram.com/jllorisperson ... 2ybz0gmvul
Tengo una colecciΓ³n de unos 100 cubos de todo tipo de formas geomΓ©tricas, todos resueltos, en instagram solo hay unos cuentos cubos.
Libre
Libreria: FWH/FWH1109 + Harbour 5.8.2 + Borland C++ 5.8.2
Editor de Recursos: PellecC
ADA, OURXDBU
S.O: XP / Win 7 /Win10
Blog: http://javierlloris.blogspot.com.es/
e-mail: javierllorisprogramador@gmail.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: HB_ZIPDELETEFILES()
Posted: Thu Dec 14, 2023 10:25 PM
Taavi wrote:I am using xHarbour builder from 2018 january

\bin\xHb.exe says:

xHarbour 1.2.3 Intl. (SimpLex) (Build 20170902)
Copyright 1999-2017, http://www.xharbour.org http://www.harbour-project.org/
I don't think you can use a lib from the current xHarbour for XCC with an xHarbour from 2017, sorry.
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
fwh24-07
Posted: Tue Sep 24, 2024 08:54 PM
c:\fwh\samples\ buildxhb.bat mariainv

Error:
Code (fw): Select all Collapse
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FiveWin for xHb commercial 24.07 - Jul. 2024 Β  Β Harbour development power Β β”‚β–„
β”‚ (c) FiveTech 1993-2024 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
xHarbour 1.3.0 Intl. (SimpLex) (Build 20230826)
Copyright 1999-2023, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'mariainv.prg' and generating preprocessed output to 'mariainv.ppo'...
Generating C source output to 'mariainv.c'...
Generating object output to 'mariainv.obj'...
Done.
Lines 1355, Functions/Procedures 30, pCodes 7696
xLINK: warning: Symbol 'c:\xhb\lib\xhbzip.lib(zip_xhb.obj)->_sprintf previously defined at c:\xhb\c_lib\crt.lib(sprintf.obj)' is multiply defined.
Creating object: mariainv.EXP
Creating library: mariainv.LIB
xLINK: error: Unresolved external symbol '__localtime64 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___security_cookie referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '@__security_check_cookie@4 referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: error: Unresolved external symbol '___stdio_common_vsprintf referenced from xhbzip.lib(zip_xhb.obj)'.
xLINK: fatal error: 4 unresolved external(s).

Continue the discussion