I am trying to load an unmanged DLL using loadlibrary from a a managed applciation every now and again when making a call on the dll I get a stackoverflow exception:
"An unhandled exception of type 'System.StackOverflowException' occurred in WindowsBase.dll"
The dll has been well used in other MFC applications so I don't believe it is a problem with that.