Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys,
My language is is C++ for the plugin development. For the debug build, I found the following lines in the stdafx.h give me a lot of problems. When I keep as it is, then I can't build a debug version of plugin which links with other libs which are also compiled in debug mode. How your guys have solved this problem?
//- 'DEBUG workaround' below prevents the MFC or ATL #include-s from pulling
//- in "Afx.h" that would force the debug CRT through #pragma-s.
#if defined(_DEBUG) && !defined(AC_FULL_DEBUG)
#define _DEBUG_WAS_DEFINED
#undef _DEBUG
#pragma message (" Compiling MFC / STL / ATL header files in release mode.")
#endif
Solved! Go to Solution.