Problem with ZIP

User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Problem with ZIP

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Frank Demont
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Post by Frank Demont »

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

Frank
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

Michel

have you received the files i sent by mail ?

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Post by Richard Chidiak »

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
Post Reply