Click to See Complete Forum and Search --> : Zip Libraries.


kandukondein
July 6th, 2002, 12:29 PM
Hello
has anyone used Zip libraries in evc 3.0
I am using the one which is present in codeguru to zip my file.

http://www.codeguru.com/cpp_mfc/czip.shtml

but it gives me an error.
saying that

TestView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl CZip::CZip(char const *)" (__imp_??0CZip@@QAA@PBD@Z) referenced in function "protected: virtual void __cdecl CTestView::OnUpdate(class CView *,long,class
CObject *)" (?OnUpdate@CTestView@@MAAXPAVCView@@JPAVCObject@@@Z)

I have used the same application in my Vc++ project.
That doesnt give me an error.
Has anyone got some pointers over that.
I am tired of working with this.Wanna sort that out.
help me
Regards
Kandukondein

undiwahn
July 10th, 2002, 03:45 PM
Sounds like you're getting a link error -- the header is included, but you arn't connecting to the dll/lib to get the actualy function at link-time.

Either you haven't included it, or you're trying to link to an x86 library (compiled for the desktop) whereas you need to find a library compiled for your embedded platform -- ARM or MIPS or what-have-you.

undiwahn
July 10th, 2002, 03:47 PM
Oh, btw -- are you aware that files are compressed on some platforms anyway? Your Zip function may not be gaining you anything at all -- although only you know what your project actually needs, of course.

kandukondein
July 10th, 2002, 08:04 PM
I solved that problem undiwahn.
I got another separate Zip library specially built for ARM.
Found that it works very well.
Regards
Kandukondein.

undiwahn
July 11th, 2002, 09:06 AM
Care to tell us what library you found, in case anyone else has the same problem?

kandukondein
July 11th, 2002, 11:44 AM
I was in a bit of hurry posting the reply yesterday so i did not give the link.I found it from this site. u can download the zip library from this site.

http://www.pocketpcdn.com/libraries/#zlibarm

This works really good but i bleave a little bit slow when considering large files. I bleave thats ought to be.

Regards
Kandukondein