Index: modules/CheckEventLog/CheckEventLog.vcproj
===================================================================
--- modules/CheckEventLog/CheckEventLog.vcproj	(revision 9ce8b01f068ec84058fbabcc032fcf6c14cde817)
+++ modules/CheckEventLog/CheckEventLog.vcproj	(revision d48c31a2201f03902da6244986d55c1b04ca3d14)
@@ -42,6 +42,6 @@
 				Name="VCCLCompilerTool"
 				AdditionalIncludeDirectories="../include;../../include"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;BOOST_REGEX_DYN_LINK"
-				RuntimeLibrary="2"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS; _CRT_SECURE_NO_DEPRECATE"
+				RuntimeLibrary="0"
 				UsePrecompiledHeader="2"
 				WarningLevel="3"
@@ -63,5 +63,5 @@
 				LinkIncremental="1"
 				ModuleDefinitionFile="CheckEventLog.def"
-				GenerateDebugInformation="true"
+				GenerateDebugInformation="false"
 				SubSystem="2"
 				OptimizeReferences="2"
@@ -206,4 +206,84 @@
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;BOOST_REGEX_DYN_LINK"
 				RuntimeLibrary="2"
+				UsePrecompiledHeader="2"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="../../Dist/modules/$(ProjectName).dll"
+				LinkIncremental="1"
+				ModuleDefinitionFile="CheckEventLog.def"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				ImportLibrary="$(OutDir)/CheckEventLog.lib"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Nightly|Win32"
+			OutputDirectory="$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+			CharacterSet="2"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+				ExcludedFromBuild="true"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalIncludeDirectories="../include;../../include"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;"
+				RuntimeLibrary="0"
 				UsePrecompiledHeader="2"
 				WarningLevel="3"
@@ -305,4 +385,12 @@
 					/>
 				</FileConfiguration>
+				<FileConfiguration
+					Name="Nightly|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"
+					/>
+				</FileConfiguration>
 			</File>
 		</Filter>
@@ -317,8 +405,4 @@
 			</File>
 			<File
-				RelativePath="..\include\ModuleHelper.h"
-				>
-			</File>
-			<File
 				RelativePath="..\..\include\NSCHelper.h"
 				>
Index: modules/CheckEventLog/stdafx.h
===================================================================
--- modules/CheckEventLog/stdafx.h	(revision 36c340d46c0b3c6f52c884e92b5b7f5f5d477a09)
+++ modules/CheckEventLog/stdafx.h	(revision d48c31a2201f03902da6244986d55c1b04ca3d14)
@@ -10,4 +10,9 @@
 // Windows Header Files:
 #include <windows.h>
+
+#define COMPILE_NEWAPIS_STUBS
+#define WANT_GETLONGPATHNAME_WRAPPER
+#include <NewAPIs.h>
+
 #include <boost/regex.hpp> 
 #include <string>
