Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi together,

I am searching a static library for zipping pictures (.jpg).
I also have to encrypt the .zip file.

I use Microsoft Visual Studio 2010.

I found info-zip, got all .c and .h files, but this creates an .exe- File,
I want a lib-file...

Or can i create a static library with these files?

Is there really no static library for this? (I searched > 2houres)


thx for any help:-)
Posted

1 solution

Try this on CP

Zip Utils - clean, elegant, simple, C++/Win32[^]
You simply merge it into your source code - really not different form a LIB for which you need at least a header file with the exported functions.

Anyway it is possible to create a LIB from a project that compiles an exe: just be sure it exist a .def file that exports the desired functions and change the project type in VisualStudio (or refer to the documentation of your linker).
 
Share this answer
 
Comments
Member 10781325 18-Nov-14 11:09am    
thanks a lot!!!!!!! ur anwser solved the problem: i compiled my .c and .h files as lib-project. (There was also a .def file)

you saved my day!
den2k88 18-Nov-14 11:13am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900