Click here to Skip to main content
13,145,568 members (44,675 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, does anyone have source code for GZIP running under windows visual studio 2010 or 2012?
Posted 12-Feb-13 11:12am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Of course, but it's C, not C++:[^],[^].

Nevertheless, you can compile this code in a C++ project. Unfortunately, there are no MSBuild project files, you have to make one by yourself.

However, GZIP implementation is included in boost, which is a C++ set of libraries. Please see:[^].


A almost forgot! There is another open-source product which supports GZIP immediately, written in C++. This is the famous 7-zip:[^],[^].

Chances are, you can even use it as is. Of course, it can be run in console-only form. I would prefer 7-zip to anything else.

Alistair Budd 12-Feb-13 19:13pm
Thanks, Are you interested in getting paid to do this for me? If so how much?
I need this written for a web server, so must be GZIP
All memory requested must use my procedure "FastMem.Alloc" , "FastMem.Free"
It must be written in Visual Studio c++ 2010 as a console app, using one class as source if possible.
The code will be inserted into the code getting developed.
Sergey Alexandrovich Kryukov 12-Feb-13 19:39pm
Why? You can dig out the code from available source...
Alistair Budd 12-Feb-13 19:43pm
Busy with the project at the moment, easier to pay someone to do it. My company will pay. I also need SSL Certificates for server. All in C++
Sergey Alexandrovich Kryukov 12-Feb-13 19:49pm
I think you can find someone closer to you; not a rocket surgery... and this is a wrong site for hiring...
Albert Holguin 13-Feb-13 18:03pm
He went from asking a question to offering you money to do it... guess he gave up rather
Sergey Alexandrovich Kryukov 13-Feb-13 18:07pm
This is just because this is not a rocket surgery, which is the most informative hint in all this discussion. :-)
Sergey Alexandrovich Kryukov 12-Feb-13 20:11pm
Certificated are either self-signed or ordered from one of certificate authorities:

As the purpose of a server certificate is only to make sure that the users of the server can trust it (it has nothing to do with security of the service itself), and the user can check with the authority that a site is authentic, self-signed certificate is only good for people who already know that a given certificate can be trusted. For example, it can be good for people who work in your company or otherwise are familiar with your; they could receive a public key token of the certificate from you by some independent channel and use it for validation. In other words, this is the situation when you can play the role of authority by yourself.

There is no need for writing any software for all these purposes.

Alistair Budd 12-Feb-13 19:52pm
Ok, thanks
Sergey Alexandrovich Kryukov 12-Feb-13 20:12pm
Sure. If you agree this is the answer (yes, it is), please accept it formally (green button) — thanks.
Mohibur Rashid 13-Feb-13 2:31am
You will not need any change to compile the code with visual studio 2008, not sure about 2010.
Albert Holguin 13-Feb-13 18:02pm
Good answer +5
Sergey Alexandrovich Kryukov 13-Feb-13 18:06pm
Thank you, Albert.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170915.1 | Last Updated 13 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100