AfXLoadLibrary fails GetLastError returns 127
Posted on 2013-11-17
I have a MFC application which links a static library (.lib) which intern loads a 3rd party dll.
The MFC application and the static lib are compiled in VS 2005 (We plan to upgrade to VS 2010 ). The dll is built on VS2010.
MFC App -> Static.lib -> AfxLoadLibrary(ABC)
Though we are upgrading to VS2010 shortly, would like to know if, the difference in the version of compilers of the dll and .exe, is actually the problem.
Please help me solve this experts.