I
have a .NET 2.0 Mixed Mode dll I am attempting to load using the
LoadLibrary command from an MFC application. Every time I try to load
the library LoadLibrary returns the error 1114 (ERROR_DLL_INIT_FAILED).
If I create a new application from scratch and attempt to load this DLL
it loads fine.
I have done some reading and I have seen some
problems with this using Mixed Mode DLLs statically linked to the CRT,
but we have none of these. This used to work in the 7.1 CRT. Has
something changed in version 8.0 that would cause this behavior Can
anyone suggest a way to debug this issue
Additonal Information: All dll's involed in this project are compiled with the /MDd option per the following thread: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.language&tid=8eb017f5-8116-40dc-9c28-6102fcfc39ca&cat=en-us-msdn&lang=en&cr=US&sloc=en-us&m=1&p=1

Mixed Mode dll LoadLibrary failure ERROR_DLL_INIT_FAILED
Cherry 00613