support for images per dive

Lubomir I. Ivanov neolit123 at gmail.com
Sun Jan 5 07:26:46 UTC 2014


On 5 January 2014 17:09, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>
> i was recently looking for libzip alternatives, and minizip, which is
> part of zlib was one, but looking at their sources i think i spotted
> the same lack of _wopen() on win32.

actually minizip has things like:

WCHAR filenameW[FILENAME_MAX + 0x200 + 1];
MultiByteToWideChar(CP_ACP,0,(const
char*)filename,-1,filenameW,FILENAME_MAX + 0x200);
hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode,
dwCreationDisposition, NULL);

so i think we can now safely dump libzip, for good...
question is how are going to put that as a dependency, since the zlib
tries to compile minizip as a command line tool and we need it as an
interface.

i see people building zlib.dll and then statically linking minizip.o,
but also including the minizip source in their projects.
i would do the same thing. opinions on this one?

lubomir
--


More information about the subsurface mailing list