|
 |
|
|
 |
|
|
hey, suppose i open a name.zip file. the code, makes a starting off folder called Name Name\FileExtraction.txt, etc..
Is there a way so that Name isn't created ?
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
and the zip extraction occurs right there, no mother folder directory created.. but folder recursion occurs..
many thanks in advance.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
I got a same problem like this. So I want to know solution
Please...someone tell me about this...
Anybody doesn't know about this problem?????
thanks a lot
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
A major strength of zlib is platform independence, so why make a win32 specific wrapper when it's so easy to make it more generic (and therefore useful to more people)? I'm doing cross-development, so this won't help me. Big disappointment.
tentons
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Is this project still alive ?
Are there any updates being done ?
When was the last release (less then 12 months I hope !) ?
Are there bugs reported since the last release ?
Have the reported bugs been fixed yet ?
Basicaly, is this thing dead ?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Excuse me ,Sir
If I got a zip file with only many htmls compressed.How can I open a HTML file in the file list in my HtmlView? not launch IE!
Thank you sir.
Alick
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
this part must include the SetFileAttributesA function too!!!!! // if the item is a folder then create it and return 'TRUE' if (info.bFolder) { char szFolderPath[MAX_PATH]; _makepath(szFolderPath, NULL, szFolder, info.szFileName, NULL);
bool result = CreateFolder(szFolderPath); if(result) ::SetFileAttributesA( szFolderPath,info.dwExternalAttrib);
return result; }
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
I spent the past two days looking for Unzip DLLs and libraries and after finding this article I had the unzip portion of my application done in 10 minutes. THANK YOU!
For those who wonder why I didn't come to CP sooner, frankly I'd have to admit that the CP search is lousy. Perhaps I am spoiled by Google.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Tom Welch wrote: For those who wonder why I didn't come to CP sooner, frankly I'd have to admit that the CP search is lousy.
The CP search (which also imho has left something to be desired) seems to have been recently improved.
/ravi
Let's put "civil" back in "civilization" Home | Articles | Freeware | Music ravib@ravib.com
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
I can just say the same. I didn't realy have to take a look at your sample how to use it and used it just intuitively. 4 simple lines of Code and all the work is done. Perfectly for my purpose!
In german grades you get 15 points 
I also downloaded your Zipper-Class, but theres no need to use it yet. I will watch it later on.
If programming is ever that simple, we wouldn't need programmers anymore 
thx a lot!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Sir, I am trying to collect ZLib.lib and all the source files of the Gilles Vollant's code to form "Regular DLL using shared MFC DLL". For that I have included #include "StdAfx.h" directive in all ".c" files. But on compilation I get the following error, one for each ".c" file-
"fatal error C1853: 'Debug/filename.pch' is not a precompiled header file created with this compiler"
Kindly help me out of this problem. I'll be really grateful to you.
Regards Gaurav
 
Gaurav Gumber
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
sorry for the delay, gaurav
usually this means you need to perform a 'rebuild all'.
however since typically .c files do not use precompiled headers, the best thing to do is to remove the 'stdafx.h' from the .c files and in 'project -> settings -> c/c++ -> precompiled headers' mark all the .c files as not using precompiled headers.
let me know how it goes.
regards
dang!
AbstractSpoon (subscribe)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hello Sir,
Thanks for being so generous and replying back to my query. I tried all the options told by you. I started a new Dll project and selected "Regular DLL using shared MFC DLL". I then included all the .c and .h files of Gilles Vollant's code and marked all .c files as not using precompiled headers. And I also gave the path of ZLib library in project->settings->link->Library for all configurations. The project got compiled successfully.
I then included the dll file that I got in the zip application that I am building. On selecting rebuild all I got the following error:
Fatal error - LNK1136:invalid or corrupt file
However the application runs successfully if in place I give the path of ZLIbStat.lib library built by you. Kindly help me out.
Regards Gaurav
Gaurav Gumber
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |
|
|
Hello,
do you guys know how MiniZip does it's job internally?
When compressing, does it buffer uncompressed data in memory until certain size is reached, then compress and write? How often does it do it?
when uncompressing, does it read the whole File inside the zip at once, then let the client ask for X number of bytes at a time?
Thanks, Julio
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
sorry, i was only interested in wrapping it.
however, try contacting giles directly (his email address is in the article) as he was helpful when i contacted him.
regards
DanG
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I'm trying to convert the wrapper to straight C. Or at least get whats needed so that I can use this in my project. What files do I need to get rid of all the MFC stuff? I managled it up to where I could give it file paths to unzip. But I'm working with Win32 and straight C.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
the wrapper class (CUnzipper) is pure win32 c++ (ie no MFC).
the inclusion of stdafx.h (which is a MFC thing) is purely to allow for the use of LPCTSTR, BOOL and such like.
if you remove stdafx.h then you will need to either replace it with a reference to windows.h (i think) or simply replace LPCTSTR with const char* and BOOL with bool, etc.
regards
DanG
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |