How to use Zlib.dll

 
Hi!

I hope that somebody can help to provide an example to use the zlib.dll for zip and unzip of files under mql4.

I saw that there is a unzip32.dll in WINDOWS\SYSTEM32, but I don't understand how to use that too.

Thanks!
 
An alternative would be to zip via a ShellExecuteA() call to launch an external command-line archiver (for example 7-zip supports command-line).
 
Hi Gordon,

Thank you for your reply.
Unfortunately, the error code returned is 33.
I don't really know what this means, could you help?

Thanks!
gordon:
An alternative would be to zip via a ShellExecuteA() call to launch an external command-line archiver (for example 7-zip supports command-line).
 
sgfxtrader:
Hi Gordon,

Thank you for your reply.
Unfortunately, the error code returned is 33.
I don't really know what this means, could you help?

Thanks!

Can u post your code?

Reason: