HB_ZIPDELETEFILES()

Post Reply
Taavi
Posts: 90
Joined: Mon Nov 21, 2005 10:29 am

Re: HB_ZIPDELETEFILES()

Post by Taavi »

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
Taavi
Posts: 90
Joined: Mon Nov 21, 2005 10:29 am

Re: HB_ZIPDELETEFILES()

Post by Taavi »

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).
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: HB_ZIPDELETEFILES()

Post by Enrico Maria Giordano »

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?
Taavi
Posts: 90
Joined: Mon Nov 21, 2005 10:29 am

Re: HB_ZIPDELETEFILES()

Post by Taavi »

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/
User avatar
jll-fwh
Posts: 408
Joined: Fri Jan 29, 2010 8:14 pm
Location: Meliana - Valencia
Contact:

Re: HB_ZIPDELETEFILES()

Post by jll-fwh »

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/ ... store.html

Image

Image

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
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: HB_ZIPDELETEFILES()

Post by Enrico Maria Giordano »

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.
jair
Posts: 57
Joined: Sun Aug 27, 2017 7:18 pm

fwh24-07

Post by jair »

c:\fwh\samples\ buildxhb.bat mariainv

Error:

Code: Select all | Expand

┌────────────────────────────────────────────────────────────────────────────┐
│ 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).
Post Reply