* bzip2-1.0.8 dlltest.c suggestions/questions
@ 2020-01-01 0:00 Andreas Schniertshauer
0 siblings, 0 replies; only message in thread
From: Andreas Schniertshauer @ 2020-01-01 0:00 UTC (permalink / raw)
To: bzip2-devel
Hi,
the BZ2_LIBNAME in dlltest.c says libbz2-1.0.2.DLL
shouldn't it be 1.0.8?
Is the version number necessary in the filename?
Or could it be libbz2.DLL without the version?
In the same file in function BZ2DLLLoadLibrary a FreeLibrary(hLib); is
missing in the section
if (!BZ2_bzlibVersion || !BZ2_bzopen || !BZ2_bzdopen
|| !BZ2_bzread || !BZ2_bzwrite || !BZ2_bzflush
|| !BZ2_bzclose || !BZ2_bzerror) {
fprintf(stderr,"GetProcAddress failed.\n");
Kind regards,
Andreas.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-21 19:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-01 0:00 bzip2-1.0.8 dlltest.c suggestions/questions Andreas Schniertshauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).