Index: /trunk/EraserDll/Random.cpp
===================================================================
--- /trunk/EraserDll/Random.cpp	(revision 53)
+++ /trunk/EraserDll/Random.cpp	(revision 54)
@@ -474,5 +474,5 @@
 
         if (status == ERROR_SUCCESS &&
-            stricmp((const char*)szValue, RANDOM_NTWORKSTATION_TOKEN)) {
+            _stricmp((const char*)szValue, RANDOM_NTWORKSTATION_TOKEN)) {
             isNTWorkstation = false;
         }
Index: /trunk/EraserDll/SecurityManager.cpp
===================================================================
--- /trunk/EraserDll/SecurityManager.cpp	(revision 53)
+++ /trunk/EraserDll/SecurityManager.cpp	(revision 54)
@@ -25,5 +25,4 @@
 #include <vector>
 #include <atlbase.h>
-#include <atlcrypt.h>
 #include <atlsecurity.h>
 #define REG_PROTECT_KEY "Software\\Heidi Computers Ltd\\Eraser\\PROTECT"
Index: /trunk/EraserUI/FlatHeaderCtrl.h
===================================================================
--- /trunk/EraserUI/FlatHeaderCtrl.h	(revision 53)
+++ /trunk/EraserUI/FlatHeaderCtrl.h	(revision 54)
@@ -133,5 +133,5 @@
     afx_msg LRESULT OnSetHotDivider(WPARAM wparam, LPARAM lparam);
     afx_msg LRESULT OnLayout(WPARAM wparam, LPARAM lparam);
-    afx_msg UINT OnNcHitTest(CPoint point);
+    afx_msg LRESULT OnNcHitTest(CPoint point);
     afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
     afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
Index: /trunk/EraserUI/FlatHeaderCtrl.cpp
===================================================================
--- /trunk/EraserUI/FlatHeaderCtrl.cpp	(revision 53)
+++ /trunk/EraserUI/FlatHeaderCtrl.cpp	(revision 54)
@@ -792,5 +792,5 @@
 }
 
-UINT
+LRESULT
 CFlatHeaderCtrl::OnNcHitTest(CPoint point)
 {
