Click to See Complete Forum and Search --> : HELP!! Build a DLL that uses the zlibce.lib libraries.


powerserg
October 23rd, 2008, 03:57 PM
I am building a my.dll that uses this compression library from zlib.org
the library is zlibce.lib.

When I call LoadLibrary("my.dll") in my driver application, it cant load my.dll. It returns an MS error code 126; The specified module cannot be found.

If I remove zilib.ce from my build and the functions that depend on it i.e inflate, my application loads my.dll.

Any suggestions as to where I can look to resolve this?