Page 1 of 1

How to load mingw version DLL?

Posted: 20 Apr 2019, 07:56
by arcticir
I found a libbrotlidec.dll to decode the br data, can view it normally by "DLL Export Viewer".

But it can't be used normally, "LoadLibrary" returns 0.

How can I load it normally?


brotli-1.0.7_1-win32-mingw´╝Ü
https://curl.haxx.se/windows/dl-7.64.1_1/brotli-1.0.7_1-win32-mingw.zip

Re: How to load mingw version DLL?

Posted: 20 Apr 2019, 08:52
by swagfag
what problems do u have loading it? a_lasterror??
libbrotlidec.dll is a 32 bit dll that depends on libbrotlicommon.dll. did u loadlib libbrotlicommon.dll beforehand, or do u have it in ur script dir?

Re: How to load mingw version DLL?

Posted: 20 Apr 2019, 09:57
by arcticir
thank you very much. :shock: