Link to home
Start Free TrialLog in
Avatar of jgarra
jgarraFlag for United States of America

asked on

zip/unzip with the win32 api

Hi,

I'm looking for a call to the Win32 API to zip/unzip files.

I do not want to use a 3rd party implementation (no sharpziplib or the like) nor do I want to use the .NET implementations of deflate or GZip, neither of those suit my needs. I searched around on Pinvoke.net for the correct function(s) but was unable to find a suitable one.

Does anyone know if a function for this exists in the Win32 API? I know they do it someplace as in XP & Vista you can view compressed ZIP files as well as the Office 2007 files are really just zipped up containers (this is what I need it for actually). In C++ or C# would be great.

Any suggestions? Thanks!!
Avatar of Christopher Martinez
Christopher Martinez
Flag of United States of America image

http://msdn.microsoft.com/en-us/magazine/cc164129.aspx
is this what you were looking for?
Avatar of jgarra

ASKER

Thanks but unfortunately that uses the above referenced SharpZip library which is not something I'm allowed to use for this project.
Avatar of Dmitry G
ASKER CERTIFIED SOLUTION
Avatar of maliger
maliger
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jgarra

ASKER

Thanks for the tip! They (MS) have such a strange way of organizing some of the dotnet framework!!