> loading an unmanaged DLL can corrupt the managed process

What is your managed process doing and why is loading an unmanaged .dll corrupting it?