I have a very similar problem. I have a C++ DLL which compiles and runs OK in 32-bit mode. It also runs OK in 64-bit mode when compiled with Visual C++ 2005. When compiled in Release mode with Visual...