Page 1 of 2
Problem with ZIP
Posted: Tue Feb 20, 2007 11:22 am
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
Posted: Tue Feb 20, 2007 12:02 pm
by Frank Demont
I think xhbzip.dll must be available , but also xhbzip.lib and xhbzipdll.lib must be linked in.
Frank
Posted: Tue Feb 20, 2007 2:11 pm
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
Posted: Tue Feb 20, 2007 2:28 pm
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
Posted: Tue Feb 20, 2007 3:33 pm
by driessen
Hello Richard,
Thank you in advance for sending me your examples.
My email :
michel.driessen@ma-consult.be.
Thanks.
Michel
Posted: Tue Feb 20, 2007 5:27 pm
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
Posted: Tue Feb 20, 2007 7:54 pm
by Richard Chidiak
James
Xhbzip.lib and Xhbzipdll.lib are needed and used for the commercial version of xharbour.
Richard
Posted: Tue Feb 20, 2007 8:18 pm
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
Posted: Tue Feb 20, 2007 8:31 pm
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
Posted: Tue Feb 20, 2007 8:32 pm
by Richard Chidiak
Michel
have you received the files i sent by mail ?
Richard
Posted: Tue Feb 20, 2007 8:49 pm
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
Posted: Tue Feb 20, 2007 8:52 pm
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.
Posted: Tue Feb 20, 2007 8:59 pm
by driessen
Richard,
Thanks a lot for your help.
I've received your files.
I'll try it out.
Regards,
Michel
Posted: Tue Feb 20, 2007 9:07 pm
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
Posted: Tue Feb 20, 2007 9:15 pm
by Richard Chidiak
James
I will let you know how it goes.
I will surely need Antonio's help.... (as susual)
regards
Richard