Home › Forums › ActiveX components › Xceed Zip for ActiveX & x64 › XzZip API failing in ActiveX on Windows 7
-
AuthorPosts
-
#42435 |
We are using Xceedzip.dll ‘s expoted XzZip API to create to compressed files in an ActiveX control but there an issue with this library. We are not able to create zip files using XzZip API on IE8 with Windows 7. Same code is working fine with IE8 on Windows XP. It is also working fine in a standalone desktop application on both Windows XP as well as Windows 7.
When XzZip API fails on Windows 7 in ActiveX there is no error code returned by it. It simply does not create the zip file.
We are using 5.0.117.0 version. Please let us know if there is any workaround for this problem.
Imported from legacy forums. Posted by Manish (had 1786 views)
Hi Manish,
Can you please and see if the issue remains with the latest version of the Zip Compression Library, which you can download from the folowing page:
Imported from legacy forums. Posted by Alain [Xceed] (had 367 views)
Still same issue on Windows 7 even with latest (i.e. 6.5.10316.0) XceedZip.dll
Regards,
Manish AgarwalImported from legacy forums. Posted by Manish (had 389 views)
Hi Manish,
Can you please send us with a sample application that reproduces this behavior to support@xceed.com so that we can investigate further?
Imported from legacy forums. Posted by Alain [Xceed] (had 417 views)
Finally we are able to resolve the issue partially.
Earlier we were creating zip files using XzZip() in some folder on D:\ using our ActiveX which was working fine on Windows XP but on Windows 7 it was failing with error code 503 (in latest XceedZip.dll, old XceedZip.dll was returning 0).
When we tried XzZip() for creating zip files in a Windows 7 temp folder i.e. “C:\Users\user007\AppData\Local\Temp” it worked fine.
Now the problem is, when we created a sample ActiveX with following lines and it worked fine on Windows 7 even for creating zip files on D:\
HXCEEDZIP hZip = NULL;
XceedZipInitDLL();
hZip = XzCreateXceedZip(LICENSESTR);
XzSetZipFilename(hZip, _T(“D:\\XceedTest.zip”));
XzSetFilesToProcess(hZip, _T(“D:\\events.log”));int ret = XzZip(hZip);
Above code is not working for D:\ in our ActiveX on Windows 7. We are thinking it may be because of we tested sample ActiveX with a html file, placed in D:\
We will do some more R&D and keep it posted on this forum. Mean while if you have any answer, please let us know.
Regards,
Manish AgarwalImported from legacy forums. Posted by Manish (had 1694 views)
-
AuthorPosts
- You must be logged in to reply to this topic.