Index: src/ch/MiniViewDlg.cpp =================================================================== diff -u -raa6bff57279b9f9cfc276e9adab2763e2900878d -rcaa71fb57fcfdd3b3731ed038cecc280ff69a78e --- src/ch/MiniViewDlg.cpp (.../MiniViewDlg.cpp) (revision aa6bff57279b9f9cfc276e9adab2763e2900878d) +++ src/ch/MiniViewDlg.cpp (.../MiniViewDlg.cpp) (revision caa71fb57fcfdd3b3731ed038cecc280ff69a78e) @@ -755,12 +755,11 @@ CClientDC dc(this); NONCLIENTMETRICS ncm; + memset(&ncm, 0, sizeof(NONCLIENTMETRICS)); ncm.cbSize=sizeof(NONCLIENTMETRICS); if(!SystemParametersInfo(SPI_GETNONCLIENTMETRICS, ncm.cbSize, &ncm, 0)) { - TRACE(_T("Last error: %lu"), GetLastError()); - - assert(false); // function call failed + BOOST_ASSERT(false); // function call failed return; } Index: src/ch/Stdafx.h =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -rcaa71fb57fcfdd3b3731ed038cecc280ff69a78e --- src/ch/Stdafx.h (.../Stdafx.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/Stdafx.h (.../Stdafx.h) (revision caa71fb57fcfdd3b3731ed038cecc280ff69a78e) @@ -21,6 +21,8 @@ #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers +#include "../common/targetver.h" + #include // MFC core and standard components #include // MFC extensions #ifndef _AFX_NO_AFXCMN_SUPPORT Index: src/ch/ch.vc90.vcproj =================================================================== diff -u -r9248b74686de6c2b986a17914c3f22b3f060ac50 -rcaa71fb57fcfdd3b3731ed038cecc280ff69a78e --- src/ch/ch.vc90.vcproj (.../ch.vc90.vcproj) (revision 9248b74686de6c2b986a17914c3f22b3f060ac50) +++ src/ch/ch.vc90.vcproj (.../ch.vc90.vcproj) (revision caa71fb57fcfdd3b3731ed038cecc280ff69a78e) @@ -617,6 +617,10 @@ > + + Index: src/chext/StdAfx.h =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -rcaa71fb57fcfdd3b3731ed038cecc280ff69a78e --- src/chext/StdAfx.h (.../StdAfx.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/chext/StdAfx.h (.../StdAfx.h) (revision caa71fb57fcfdd3b3731ed038cecc280ff69a78e) @@ -20,9 +20,13 @@ #define __STDAFX_H__ #define STRICT + +#include "../common/targetver.h" + #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0400 #endif + #define _ATL_APARTMENT_THREADED Index: src/chext/chext.vc90.vcproj =================================================================== diff -u -r83c2261d1834199e9a9b453b03689532f4ec1188 -rcaa71fb57fcfdd3b3731ed038cecc280ff69a78e --- src/chext/chext.vc90.vcproj (.../chext.vc90.vcproj) (revision 83c2261d1834199e9a9b453b03689532f4ec1188) +++ src/chext/chext.vc90.vcproj (.../chext.vc90.vcproj) (revision caa71fb57fcfdd3b3731ed038cecc280ff69a78e) @@ -634,6 +634,10 @@ RelativePath="StringHelpers.h" > + + - - - - Index: src/libchcore/stdafx.h =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -rcaa71fb57fcfdd3b3731ed038cecc280ff69a78e --- src/libchcore/stdafx.h (.../stdafx.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/libchcore/stdafx.h (.../stdafx.h) (revision caa71fb57fcfdd3b3731ed038cecc280ff69a78e) @@ -5,7 +5,7 @@ #pragma once -#include "targetver.h" +#include "../common/targetver.h" #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // Windows Header Files: Fisheye: Tag caa71fb57fcfdd3b3731ed038cecc280ff69a78e refers to a dead (removed) revision in file `src/libchcore/targetver.h'. Fisheye: No comparison available. Pass `N' to diff?