المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Mixing Debug and Release during execution



C++ Programming
04-16-2009, 02:23 PM
Hello,

I am doing an application with an "exe" file and some "dll" that are called from the exe.

When I run the exe in Debug (or Debug64) mode and the dll are compiled in Debug (or Debug64) mode the application runs without any problem. But if I mix Debug with Release (or Debug64 with Release 64) the application does not run, and I get this error:

"Unhandled exception at 0x77d4dd50 in PruebaLinkado.exe: Microsoft C++ exception: std::bad_alloc at memory ******** 0x0012c160.."

The dll has "Multi-threaded DLL (/MD)" option

And the exe file has "Multi-threaded (/MT)" option.

Can anybody help me with this problem?

Thanks in advance