
4 Apr
2005
4 Apr
'05
8:42 p.m.
#define BOOST_MS_STRCTURED_EXCEPTION_HANDLING #if !defined(_WIN32_WINNT) #define _WIN32_WINNT 0x0400 #endif
#include <wtypes.h> #include <winbase.h>
The problem is that winbase.h is already included before by the <locale> header _without_ the definition for _WIN32_WINNT. That's why IsDebuggerPresent() is finally missing!
So you are saying that CW 9.4 uses <locale> that include winbase.h, while the one that is used by CW 8.1 uses <locale> that doesn't? What should I do to make offline library compile without errors? Should I move STL includes? Gennadiy