Problem with ZIP

Problem with ZIP

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Frank Demont » 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
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby driessen » Tue Feb 20, 2007 2: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Richard Chidiak » Tue Feb 20, 2007 2: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby driessen » Tue Feb 20, 2007 3: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby James Bott » Tue Feb 20, 2007 5: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Richard Chidiak » Tue Feb 20, 2007 7: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby James Bott » Tue Feb 20, 2007 8: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Richard Chidiak » Tue Feb 20, 2007 8: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Richard Chidiak » Tue Feb 20, 2007 8: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby James Bott » Tue Feb 20, 2007 8: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Richard Chidiak » Tue Feb 20, 2007 8: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby driessen » Tue Feb 20, 2007 8: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby James Bott » Tue Feb 20, 2007 9: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Richard Chidiak » Tue Feb 20, 2007 9: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 25 guests