Re: [xml] Loading libxml2 on windows



That was the obvious solution.  But overwriting the non-working (new) DLL
with the working (old) one caused it to load successfully, from which
I infer it was never a path problem.  In fact quite the reverse: it's
very forgiving over things like forward-vs-back slashes.
...
That's entirely possible, but doesn't address the issue of why one
version works while another fails.

Well what possibly could be in the code of a DLL that would prevent it from
being loaded into memory using LoadLibrary[Ex].  The dependencies, for one.
Perhaps the newer libxml2 is being built linked against a required library
that isn't present.  Perform a

 dumpbin /imports libxml2.dll

and compare the libraries it imports with the old working dll.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]