ZIP files with Harbour, MSVC, and FWH

ZIP files with Harbour, MSVC, and FWH

Postby TimStone » Sun Jun 17, 2018 5:42 am

I have tried to build an application previously constructed with the commercial version of xHarbour, but now trying to use Harbour, FWH 18.04, and MSVC++ 2017.

I have included the harbour libraries: hbziparc, hbmzip, hbzlib, minizip

When building, I have the following undefined variables:

Code: Select all  Expand view

MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPNEW
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPOPEN
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPGETLASTERROR
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPSETFILEPATH
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPSETEXTRACTPATH
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPSETPASSWORD
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPEXTRACTFILES
MLS10aus.obj : error LNK2001: unresolved external symbol _HB_FUN_ZIPCLOSE
 


These are the functions used with xHarbour. Either I need to add a .prg to reference these into the build, or Harbour uses a different set of function calls.

Does anyone have an idea about how to get these properly linked / called ?

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: ZIP files with Harbour, MSVC, and FWH

Postby Antonio Linares » Sun Jun 17, 2018 6:36 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: ZIP files with Harbour, MSVC, and FWH

Postby TimStone » Tue Jun 19, 2018 11:44 pm

Antonio,

You can include the files in a build, but if you try calling these methods they will error out. Harbour uses other methods ...

I finally resolved that ...

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests