FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with ZIP
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem with ZIP
Posted: Tue Feb 20, 2007 11:22 AM

Hello,

I try to migrate my zipping program from FW16 to FW32.

If I'm right, I need to use xHBZIP.DLL.

Nevertheless I got the error :


Unresolved external symbol '_HB_FUN_ZIPFILE
Unresolved external symbol '_HB_FUN_UNZIPFILE
Unresolved external symbol '_HB_FUN_ZIPTYPE
Unresolved external symbol '_HB_FUN_ZIPBLOCK
.......
Unresolved external symbol '_HB_FUN_CLOSEZIPFILE


Did I forgett anything ?

What do I need to do to solve this problem ?

Thanks.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 142
Joined: Sun Oct 09, 2005 10:59 AM
Problem with ZIP
Posted: Tue Feb 20, 2007 12:02 PM

I think xhbzip.dll must be available , but also xhbzip.lib and xhbzipdll.lib must be linked in.

Frank

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem with ZIP
Posted: Tue Feb 20, 2007 02:11 PM

Frank,

Thanks for your answer.

I linked in both RC-files, but how do I link in a DLL-file, knowing that I'm using the xHarbour Builder ?

Thanks.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 02:28 PM

Michel

It is a bit more complex than this

The zip functions are totally different from fw 16 bits to fwh

If you can connect to xharbour's ng , Enrico has posted a good sample few days ago.

If you can't, let me know . I will send you my backup/restore program to your private email.

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem with ZIP
Posted: Tue Feb 20, 2007 03:33 PM

Hello Richard,

Thank you in advance for sending me your examples.

My email : michel.driessen@ma-consult.be.

Thanks.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 05:27 PM

Anyone,

I am using xHarbour 99.61 and it came with HBZIP.LIB (dated 8/27/06). What is xHBZIP.LIB? Is this a newer or a different lib?

HBZIP.LIB is all that I use and it seems to work fine.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 07:54 PM

James

Xhbzip.lib and Xhbzipdll.lib are needed and used for the commercial version of xharbour.

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 08:18 PM

Richard,

>Xhbzip.lib and Xhbzipdll.lib are needed and used for the commercial version of xharbour.

I still wonder what the difference is. More features? Or, is it due to the fact that the commercial version uses a different compiler?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 08:31 PM

James

Unfortunately, this is the problem of different compilers.

Borland "c" format and microsoft "C" format...

One of the bad things we have to live wih .... I wish fivetech had it's own compiler , but that's another story.

I have started with Borland and now i use the commercial version, mainly because of the "builder" (no more make files and dos). But now, the builder is not compatible with "Vista"..... i do not know if borland is, haven't tested it.

It is getting difficult to work in our "beloved" environment ...

Regards

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 08:32 PM

Michel

have you received the files i sent by mail ?

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 08:49 PM

Richard,

>But now, the builder is not compatible with "Vista"..... i do not know if borland is, haven't tested it.

Hmm, do you mean the builder itself won't run under Vista, or that the applications it builds won't. Or, by "not compatible" do you mean something else?

>It is getting difficult to work in our "beloved" environment ...

I use UltraEdit and a small FW program I wrote to automatically create the make and batch files needed to compile and link via a button on the UE toolbar. Its simple and I can use any compiler.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 08:52 PM

Just the builder does not run under vista and is completely "buggy" in this environment.

The app works OK under vista, tested (home premium and business)

I use Ultra edit also and i plan to switch to UE studio very shortly. I am looking in the forum for the configuration file.

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem with ZIP
Posted: Tue Feb 20, 2007 08:59 PM

Richard,

Thanks a lot for your help.

I've received your files.

I'll try it out.

Regards,

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 09:07 PM

Richard,

>I use Ultra edit also and i plan to switch to UE studio very shortly. I am looking in the forum for the configuration file.

I have also been considering switching to UE Studio. I will be interested to hear about your experience with it.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Problem with ZIP
Posted: Tue Feb 20, 2007 09:15 PM

James

I will let you know how it goes.

I will surely need Antonio's help.... (as susual)

regards

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013