I am using Visual C ++ 2008 Express Edition to create only a resource DLL. The problem I am facing is that running an application using a DLL on a computer other than mine results in a LoadLibrary () function error with error code 14001.
Internet search seems to be a computer dependency issue running an application with missing libraries of the Microsoft Visual C ++ 2008 redistributable package.
My first step was to install the latest Microsoft Visual C ++ 2008 redistributable package, but this did not solve the problem.
I also changed the setting of my project, so the DLL compiles with a static CRT link, assuming that this way I will get rid of the dependencies.
These options seem to be workarounds for other people having the same problem. Any idea in which direction to look is much appreciated.
thanks
==================================================== ==================================
Thank you for your responses.
Both Dependency Walker and the event viewer indicated a side-by-side configuration problem because I lacked the debug library version of the distributed VC ++ package.
I was sloppy and compiled my DLL in debug mode, recompiling the solution to the problem in release mode.
source share