[delphizip] bug

  • From: Don <dglocke@xxxxxxxxxxx>
  • To: delphizip@xxxxxxxxxxxxx
  • Date: Wed, 31 Jan 2007 16:34:20 -0700

I'm still having problems with the icons.  How do you get them into 
zipbuilder?  I did find a bug in the zipintsfx.cpp file.  Error code -10 
is used twice.

const int SE_NoFoundError = -10;
const int SE_OutOfMemError = -10;

In order to see if there was some other problem, I commented out all of 
the code in the ReplaceIcon function.  I then put in

ShowMessage("in replaceicon");
return SE_NoFoundError;

I then got an error with error code -10.  That's how I discovered that 
-10 was used twice.  I changed the "return SE_NoFoundError" to "return 
0" & then the zip file was changed to an .exe file.  So it does work 
without the icon files.  But I'm sure that they are needed.  I just have 
not been able to figure out how to get them included.
Don



-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: