windows-eventreader 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/build/EventReader.vcxproj +87 -87
- package/build/EventReader.vcxproj.filters +19 -22
- package/build/Release/EventReader.exp +0 -0
- package/build/Release/EventReader.lib +0 -0
- package/build/Release/EventReader.node +0 -0
- package/build/Release/obj/EventReader/CL.read.1.tlog +0 -0
- package/build/Release/obj/EventReader/CL.write.1.tlog +0 -0
- package/build/Release/obj/EventReader/EventReader.lastbuildstate +2 -0
- package/build/Release/obj/EventReader/EventReader.obj +0 -0
- package/build/Release/obj/EventReader/EventReader.vcxprojResolveAssemblyReference.cache +0 -0
- package/build/Release/obj/EventReader/EventReader.write.1.tlog +3 -0
- package/build/Release/obj/EventReader/{EventReader.tlog/cl.command.1.tlog → cl.command.1.tlog} +0 -0
- package/build/Release/obj/EventReader/link-cvtres.read.1.tlog +1 -0
- package/build/Release/obj/EventReader/link-cvtres.write.1.tlog +1 -0
- package/build/Release/obj/EventReader/link-rc.read.1.tlog +1 -0
- package/build/Release/obj/EventReader/link-rc.write.1.tlog +1 -0
- package/build/Release/obj/EventReader/link.command.1.tlog +0 -0
- package/build/Release/obj/EventReader/link.read.1.tlog +0 -0
- package/build/Release/obj/EventReader/link.write.1.tlog +0 -0
- package/build/Release/obj/EventReader/vc110.pdb +0 -0
- package/build/binding.sln +19 -19
- package/build/config.gypi +80 -3
- package/package.json +6 -14
- package/src/EventReader.cpp +1 -4
- package/build/Release/obj/EventReader/EventReader.tlog/CL.read.1.tlog +0 -0
- package/build/Release/obj/EventReader/EventReader.tlog/CL.write.1.tlog +0 -0
- package/build/Release/obj/EventReader/EventReader.tlog/EventReader.lastbuildstate +0 -2
- package/build/Release/obj/EventReader/EventReader.tlog/EventReader.write.1u.tlog +0 -0
- package/build/Release/obj/EventReader/EventReader.tlog/link.command.1.tlog +0 -0
- package/build/Release/obj/EventReader/EventReader.tlog/link.read.1.tlog +0 -0
- package/build/Release/obj/EventReader/EventReader.tlog/link.write.1.tlog +0 -0
- package/build/Release/obj/EventReader/vc120.pdb +0 -0
package/README.md
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="
|
|
3
|
-
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
-
<ProjectConfiguration Include="Debug|x64">
|
|
5
|
-
<Configuration>Debug</Configuration>
|
|
6
|
-
<Platform>x64</Platform>
|
|
7
|
-
</ProjectConfiguration>
|
|
8
|
-
<ProjectConfiguration Include="Release|x64">
|
|
9
|
-
<Configuration>Release</Configuration>
|
|
10
|
-
<Platform>x64</Platform>
|
|
11
|
-
</ProjectConfiguration>
|
|
12
|
-
</ItemGroup>
|
|
13
|
-
<PropertyGroup Label="Globals">
|
|
14
|
-
<ProjectGuid>{
|
|
15
|
-
<Keyword>Win32Proj</Keyword>
|
|
16
|
-
<RootNamespace>EventReader</RootNamespace>
|
|
17
|
-
</PropertyGroup>
|
|
18
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
|
19
|
-
<PropertyGroup Label="Configuration">
|
|
20
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
21
|
-
</PropertyGroup>
|
|
22
|
-
<PropertyGroup Label="Locals">
|
|
23
|
-
<PlatformToolset>
|
|
24
|
-
</PropertyGroup>
|
|
25
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
|
26
|
-
<ImportGroup Label="ExtensionSettings"/>
|
|
27
|
-
<ImportGroup Label="PropertySheets">
|
|
28
|
-
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
|
29
|
-
</ImportGroup>
|
|
30
|
-
<PropertyGroup Label="UserMacros"/>
|
|
31
|
-
<PropertyGroup>
|
|
32
|
-
<ExecutablePath>$(ExecutablePath);$(MSBuildProjectDirectory)\..\bin\;$(MSBuildProjectDirectory)\..\bin\</ExecutablePath>
|
|
33
|
-
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
|
34
|
-
<IntDir>$(Configuration)\obj\$(ProjectName)\</IntDir>
|
|
35
|
-
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
|
36
|
-
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
|
|
37
|
-
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
|
|
38
|
-
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
|
|
39
|
-
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
|
|
40
|
-
<TargetName>$(ProjectName)</TargetName>
|
|
41
|
-
<TargetPath>$(OutDir)\$(ProjectName).node</TargetPath>
|
|
42
|
-
</PropertyGroup>
|
|
43
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
44
|
-
<ClCompile>
|
|
45
|
-
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.
|
|
46
|
-
<CompileAsManaged>true</CompileAsManaged>
|
|
47
|
-
<DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
48
|
-
<ExceptionHandling>Async</ExceptionHandling>
|
|
49
|
-
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
50
|
-
</ClCompile>
|
|
51
|
-
<Link>
|
|
52
|
-
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib
|
|
53
|
-
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
|
|
54
|
-
<TargetExt>.node</TargetExt>
|
|
55
|
-
</Link>
|
|
56
|
-
<ResourceCompile>
|
|
57
|
-
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.
|
|
58
|
-
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
59
|
-
</ResourceCompile>
|
|
60
|
-
</ItemDefinitionGroup>
|
|
61
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
62
|
-
<ClCompile>
|
|
63
|
-
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.
|
|
64
|
-
<CompileAsManaged>true</CompileAsManaged>
|
|
65
|
-
<DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
66
|
-
<ExceptionHandling>Async</ExceptionHandling>
|
|
67
|
-
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
68
|
-
</ClCompile>
|
|
69
|
-
<Link>
|
|
70
|
-
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib
|
|
71
|
-
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
|
|
72
|
-
<TargetExt>.node</TargetExt>
|
|
73
|
-
</Link>
|
|
74
|
-
<ResourceCompile>
|
|
75
|
-
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.
|
|
76
|
-
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
77
|
-
</ResourceCompile>
|
|
78
|
-
</ItemDefinitionGroup>
|
|
79
|
-
<ItemGroup>
|
|
80
|
-
<None Include="..\binding.gyp"/>
|
|
81
|
-
</ItemGroup>
|
|
82
|
-
<ItemGroup>
|
|
83
|
-
<ClCompile Include="..\src\EventReader.cpp"/>
|
|
84
|
-
</ItemGroup>
|
|
85
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
|
86
|
-
<ImportGroup Label="ExtensionTargets"/>
|
|
87
|
-
</Project>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
+
<ProjectConfiguration Include="Debug|x64">
|
|
5
|
+
<Configuration>Debug</Configuration>
|
|
6
|
+
<Platform>x64</Platform>
|
|
7
|
+
</ProjectConfiguration>
|
|
8
|
+
<ProjectConfiguration Include="Release|x64">
|
|
9
|
+
<Configuration>Release</Configuration>
|
|
10
|
+
<Platform>x64</Platform>
|
|
11
|
+
</ProjectConfiguration>
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
<PropertyGroup Label="Globals">
|
|
14
|
+
<ProjectGuid>{63BE8E7C-940C-F89B-1C99-AF13EFBBFEE1}</ProjectGuid>
|
|
15
|
+
<Keyword>Win32Proj</Keyword>
|
|
16
|
+
<RootNamespace>EventReader</RootNamespace>
|
|
17
|
+
</PropertyGroup>
|
|
18
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
|
|
19
|
+
<PropertyGroup Label="Configuration">
|
|
20
|
+
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
21
|
+
</PropertyGroup>
|
|
22
|
+
<PropertyGroup Label="Locals">
|
|
23
|
+
<PlatformToolset>v110</PlatformToolset>
|
|
24
|
+
</PropertyGroup>
|
|
25
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
|
|
26
|
+
<ImportGroup Label="ExtensionSettings"/>
|
|
27
|
+
<ImportGroup Label="PropertySheets">
|
|
28
|
+
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/>
|
|
29
|
+
</ImportGroup>
|
|
30
|
+
<PropertyGroup Label="UserMacros"/>
|
|
31
|
+
<PropertyGroup>
|
|
32
|
+
<ExecutablePath>$(ExecutablePath);$(MSBuildProjectDirectory)\..\bin\;$(MSBuildProjectDirectory)\..\bin\</ExecutablePath>
|
|
33
|
+
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
|
34
|
+
<IntDir>$(Configuration)\obj\$(ProjectName)\</IntDir>
|
|
35
|
+
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
|
36
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
|
|
37
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.node</TargetExt>
|
|
38
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
|
|
39
|
+
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.node</TargetExt>
|
|
40
|
+
<TargetName>$(ProjectName)</TargetName>
|
|
41
|
+
<TargetPath>$(OutDir)\$(ProjectName).node</TargetPath>
|
|
42
|
+
</PropertyGroup>
|
|
43
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
44
|
+
<ClCompile>
|
|
45
|
+
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.26\src;C:\Users\Sven\.node-gyp\0.10.26\deps\uv\include;C:\Users\Sven\.node-gyp\0.10.26\deps\v8\include;..\src;..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
46
|
+
<CompileAsManaged>true</CompileAsManaged>
|
|
47
|
+
<DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
48
|
+
<ExceptionHandling>Async</ExceptionHandling>
|
|
49
|
+
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
50
|
+
</ClCompile>
|
|
51
|
+
<Link>
|
|
52
|
+
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;C:\Users\Sven\.node-gyp\0.10.26\$(Configuration)\node.lib;advapi32.lib</AdditionalDependencies>
|
|
53
|
+
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
|
|
54
|
+
<TargetExt>.node</TargetExt>
|
|
55
|
+
</Link>
|
|
56
|
+
<ResourceCompile>
|
|
57
|
+
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.26\src;C:\Users\Sven\.node-gyp\0.10.26\deps\uv\include;C:\Users\Sven\.node-gyp\0.10.26\deps\v8\include;..\src;..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
58
|
+
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;DEBUG;_DEBUG;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
59
|
+
</ResourceCompile>
|
|
60
|
+
</ItemDefinitionGroup>
|
|
61
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
62
|
+
<ClCompile>
|
|
63
|
+
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.26\src;C:\Users\Sven\.node-gyp\0.10.26\deps\uv\include;C:\Users\Sven\.node-gyp\0.10.26\deps\v8\include;..\src;..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
64
|
+
<CompileAsManaged>true</CompileAsManaged>
|
|
65
|
+
<DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
66
|
+
<ExceptionHandling>Async</ExceptionHandling>
|
|
67
|
+
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
68
|
+
</ClCompile>
|
|
69
|
+
<Link>
|
|
70
|
+
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;C:\Users\Sven\.node-gyp\0.10.26\$(Configuration)\node.lib;advapi32.lib</AdditionalDependencies>
|
|
71
|
+
<OutputFile>$(OutDir)$(ProjectName).node</OutputFile>
|
|
72
|
+
<TargetExt>.node</TargetExt>
|
|
73
|
+
</Link>
|
|
74
|
+
<ResourceCompile>
|
|
75
|
+
<AdditionalIncludeDirectories>C:\Users\Sven\.node-gyp\0.10.26\src;C:\Users\Sven\.node-gyp\0.10.26\deps\uv\include;C:\Users\Sven\.node-gyp\0.10.26\deps\v8\include;..\src;..\dll;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
76
|
+
<PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;BUILDING_NODE_EXTENSION;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
77
|
+
</ResourceCompile>
|
|
78
|
+
</ItemDefinitionGroup>
|
|
79
|
+
<ItemGroup>
|
|
80
|
+
<None Include="..\binding.gyp"/>
|
|
81
|
+
</ItemGroup>
|
|
82
|
+
<ItemGroup>
|
|
83
|
+
<ClCompile Include="..\src\EventReader.cpp"/>
|
|
84
|
+
</ItemGroup>
|
|
85
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
|
|
86
|
+
<ImportGroup Label="ExtensionTargets"/>
|
|
87
|
+
</Project>
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ItemGroup>
|
|
4
|
-
<Filter Include="..">
|
|
5
|
-
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
|
|
6
|
-
</Filter>
|
|
7
|
-
<Filter Include="..\src">
|
|
8
|
-
<UniqueIdentifier>{8CDEE807-BC53-E450-C8B8-4DEBB66742D4}</UniqueIdentifier>
|
|
9
|
-
</Filter>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<ClCompile Include="..\src\EventReader.cpp">
|
|
16
|
-
<Filter>..\src</Filter>
|
|
17
|
-
</ClCompile>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
</None>
|
|
21
|
-
</ItemGroup>
|
|
22
|
-
</Project>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup>
|
|
4
|
+
<Filter Include="..">
|
|
5
|
+
<UniqueIdentifier>{739DB09A-CC57-A953-A6CF-F64FA08E4FA7}</UniqueIdentifier>
|
|
6
|
+
</Filter>
|
|
7
|
+
<Filter Include="..\src">
|
|
8
|
+
<UniqueIdentifier>{8CDEE807-BC53-E450-C8B8-4DEBB66742D4}</UniqueIdentifier>
|
|
9
|
+
</Filter>
|
|
10
|
+
</ItemGroup>
|
|
11
|
+
<ItemGroup>
|
|
12
|
+
<None Include="..\binding.gyp">
|
|
13
|
+
<Filter>..</Filter>
|
|
14
|
+
</None>
|
|
15
|
+
<ClCompile Include="..\src\EventReader.cpp">
|
|
16
|
+
<Filter>..\src</Filter>
|
|
17
|
+
</ClCompile>
|
|
18
|
+
</ItemGroup>
|
|
19
|
+
</Project>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/Release/obj/EventReader/{EventReader.tlog/cl.command.1.tlog → cl.command.1.tlog}
RENAMED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
��
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/binding.sln
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
Microsoft Visual Studio Solution File, Format Version
|
|
2
|
-
# Visual Studio
|
|
3
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EventReader", "EventReader.vcxproj", "{
|
|
4
|
-
EndProject
|
|
5
|
-
Global
|
|
6
|
-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
7
|
-
Debug|x64 = Debug|x64
|
|
8
|
-
Release|x64 = Release|x64
|
|
9
|
-
EndGlobalSection
|
|
10
|
-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
11
|
-
{
|
|
12
|
-
{
|
|
13
|
-
{
|
|
14
|
-
{
|
|
15
|
-
EndGlobalSection
|
|
16
|
-
GlobalSection(SolutionProperties) = preSolution
|
|
17
|
-
HideSolutionNode = FALSE
|
|
18
|
-
EndGlobalSection
|
|
19
|
-
EndGlobal
|
|
1
|
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
2
|
+
# Visual Studio 2012
|
|
3
|
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EventReader", "EventReader.vcxproj", "{63BE8E7C-940C-F89B-1C99-AF13EFBBFEE1}"
|
|
4
|
+
EndProject
|
|
5
|
+
Global
|
|
6
|
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
7
|
+
Debug|x64 = Debug|x64
|
|
8
|
+
Release|x64 = Release|x64
|
|
9
|
+
EndGlobalSection
|
|
10
|
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
11
|
+
{63BE8E7C-940C-F89B-1C99-AF13EFBBFEE1}.Debug|x64.ActiveCfg = Debug|x64
|
|
12
|
+
{63BE8E7C-940C-F89B-1C99-AF13EFBBFEE1}.Debug|x64.Build.0 = Debug|x64
|
|
13
|
+
{63BE8E7C-940C-F89B-1C99-AF13EFBBFEE1}.Release|x64.ActiveCfg = Release|x64
|
|
14
|
+
{63BE8E7C-940C-F89B-1C99-AF13EFBBFEE1}.Release|x64.Build.0 = Release|x64
|
|
15
|
+
EndGlobalSection
|
|
16
|
+
GlobalSection(SolutionProperties) = preSolution
|
|
17
|
+
HideSolutionNode = FALSE
|
|
18
|
+
EndGlobalSection
|
|
19
|
+
EndGlobal
|
package/build/config.gypi
CHANGED
|
@@ -31,9 +31,86 @@
|
|
|
31
31
|
"v8_no_strict_aliasing": 1,
|
|
32
32
|
"v8_use_snapshot": "true",
|
|
33
33
|
"visibility": "",
|
|
34
|
-
"
|
|
35
|
-
"nodedir": "C:\\Users\\Sven\\.node-gyp\\0.10.29",
|
|
34
|
+
"nodedir": "C:\\Users\\Sven\\.node-gyp\\0.10.26",
|
|
36
35
|
"copy_dev_lib": "true",
|
|
37
|
-
"standalone_static_library": 1
|
|
36
|
+
"standalone_static_library": 1,
|
|
37
|
+
"registry": "https://registry.npmjs.org/",
|
|
38
|
+
"prefix": "C:\\Users\\Sven\\AppData\\Roaming\\npm",
|
|
39
|
+
"always_auth": "",
|
|
40
|
+
"bin_links": "true",
|
|
41
|
+
"browser": "",
|
|
42
|
+
"ca": "",
|
|
43
|
+
"cache": "C:\\Users\\Sven\\AppData\\Roaming\\npm-cache",
|
|
44
|
+
"cache_lock_stale": "60000",
|
|
45
|
+
"cache_lock_retries": "10",
|
|
46
|
+
"cache_lock_wait": "10000",
|
|
47
|
+
"cache_max": "null",
|
|
48
|
+
"cache_min": "10",
|
|
49
|
+
"cert": "",
|
|
50
|
+
"color": "true",
|
|
51
|
+
"depth": "null",
|
|
52
|
+
"description": "true",
|
|
53
|
+
"dev": "",
|
|
54
|
+
"editor": "notepad.exe",
|
|
55
|
+
"email": "",
|
|
56
|
+
"engine_strict": "",
|
|
57
|
+
"force": "",
|
|
58
|
+
"fetch_retries": "2",
|
|
59
|
+
"fetch_retry_factor": "10",
|
|
60
|
+
"fetch_retry_mintimeout": "10000",
|
|
61
|
+
"fetch_retry_maxtimeout": "60000",
|
|
62
|
+
"git": "git",
|
|
63
|
+
"git_tag_version": "true",
|
|
64
|
+
"global": "",
|
|
65
|
+
"globalconfig": "C:\\Users\\Sven\\AppData\\Roaming\\npm\\etc\\npmrc",
|
|
66
|
+
"group": "",
|
|
67
|
+
"heading": "npm",
|
|
68
|
+
"ignore_scripts": "",
|
|
69
|
+
"init_module": "C:\\Users\\Sven\\.npm-init.js",
|
|
70
|
+
"init_author_name": "",
|
|
71
|
+
"init_author_email": "",
|
|
72
|
+
"init_author_url": "",
|
|
73
|
+
"init_license": "ISC",
|
|
74
|
+
"json": "",
|
|
75
|
+
"key": "",
|
|
76
|
+
"link": "",
|
|
77
|
+
"local_address": "",
|
|
78
|
+
"long": "",
|
|
79
|
+
"message": "%s",
|
|
80
|
+
"node_version": "v0.10.26",
|
|
81
|
+
"npat": "",
|
|
82
|
+
"onload_script": "",
|
|
83
|
+
"optional": "true",
|
|
84
|
+
"parseable": "",
|
|
85
|
+
"production": "",
|
|
86
|
+
"proprietary_attribs": "true",
|
|
87
|
+
"https_proxy": "",
|
|
88
|
+
"user_agent": "node/v0.10.26 win32 x64",
|
|
89
|
+
"rebuild_bundle": "true",
|
|
90
|
+
"rollback": "true",
|
|
91
|
+
"save": "",
|
|
92
|
+
"save_bundle": "",
|
|
93
|
+
"save_dev": "",
|
|
94
|
+
"save_optional": "",
|
|
95
|
+
"searchopts": "",
|
|
96
|
+
"searchexclude": "",
|
|
97
|
+
"searchsort": "name",
|
|
98
|
+
"shell": "C:\\Windows\\system32\\cmd.exe",
|
|
99
|
+
"shrinkwrap": "true",
|
|
100
|
+
"sign_git_tag": "",
|
|
101
|
+
"strict_ssl": "true",
|
|
102
|
+
"tag": "latest",
|
|
103
|
+
"tmp": "C:\\Users\\Sven\\AppData\\Local\\Temp",
|
|
104
|
+
"unicode": "true",
|
|
105
|
+
"unsafe_perm": "true",
|
|
106
|
+
"usage": "",
|
|
107
|
+
"user": "",
|
|
108
|
+
"username": "",
|
|
109
|
+
"userconfig": "C:\\Users\\Sven\\.npmrc",
|
|
110
|
+
"umask": "18",
|
|
111
|
+
"version": "",
|
|
112
|
+
"versions": "",
|
|
113
|
+
"viewer": "browser",
|
|
114
|
+
"globalignorefile": "C:\\Users\\Sven\\AppData\\Roaming\\npm\\etc\\npmignore"
|
|
38
115
|
}
|
|
39
116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windows-eventreader",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "none yet",
|
|
5
5
|
"main": "build/Release/EventReader.node",
|
|
6
6
|
"scripts": {
|
|
@@ -11,19 +11,11 @@
|
|
|
11
11
|
"name": "svennergr@gmail.com"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"repository": {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"repository" : {
|
|
15
|
+
"type" : "git",
|
|
16
|
+
"url" : "https://github.com/svennergr/windows-eventreader.git"
|
|
17
17
|
},
|
|
18
18
|
"gypfile": true,
|
|
19
|
-
"_id": "windows-eventreader@0.0.
|
|
20
|
-
"_from": "windows-eventreader
|
|
21
|
-
"readme": "windows-eventreader\n=========\n\n\n> is a NodeJS module and will offer you the possibility to get access to windows EventLogs\n\nVersion\n----\n\n0.0.3\n\nTech\n====\n\nTo get things work, you will need:\n\n* [Python 2.7] - to build the module\n* [VisualStudio] - to build the module. At least version 2010 Express.\n\n\nInstallation\n====\n\n```javascript\nnpm install windows-eventreader\n```\n\n\nUseage\n=====\n\n\ngetLogs()\n-----\n\nreturns an array of readable EventLogs\n\n```javascript\n[ { displayName: 'Anwendung',\n logName: 'Application',\n entries: 9546 },\n { displayName: 'Hardware-Ereignisse',\n logName: 'HardwareEvents',\n entries: 0 },\n { displayName: 'Internet Explorer',\n logName: 'Internet Explorer',\n entries: 0 },\n { displayName: 'Key Management Service',\n logName: 'Key Management Service',\n entries: 0 },\n { displayName: 'Media Center',\n logName: 'Media Center',\n entries: 0 },\n { displayName: 'Microsoft Office Alerts',\n logName: 'OAlerts',\n entries: 62 },\n { displayName: 'PreEmptive',\n logName: 'PreEmptive',\n entries: 0 } ]\n```\n\nreadLog(logName, count, [timeStampFrom, [timeStampTo]])\n-----\n\nreturns an array of EventLogEntries\n\n```javascript\n[ { message: 'The Software Protection service has stopped.\\r\\n',\n source: 'Office Software Protection Platform Service',\n time: '07.07.2014 20:12:29',\n displayName: 'Anwendung',\n logName: 'Application',\n entries: 9546,\n category: '(0)',\n entryType: '0',\n userName: '',\n machineName: 'Laptop2' },\n { message: 'Successfully scheduled Software Protection service for re-start at 2014-07-07T20:06:29Z. Reason: GVLK.',\n source: 'Office Software Protection Platform Service',\n time: '07.07.2014 20:12:29',\n displayName: 'Anwendung',\n logName: 'Application',\n entries: 9546,\n category: '(0)',\n entryType: 'Information',\n userName: '',\n machineName: 'Laptop2' } ]\n```\n\n\nLicense\n====\n\nMIT\n\n[Windows Management Framework]:http://www.microsoft.com/de-de/download/details.aspx?id=40855\n[Python 2.7]:https://www.python.org/download/releases/2.7.6/\n[VisualStudio]:http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express",
|
|
22
|
-
"readmeFilename": "README.md",
|
|
23
|
-
"gitHead": "653dd17d1b302658c838b7bd0978a4a9e277743c",
|
|
24
|
-
"bugs": {
|
|
25
|
-
"url": "https://github.com/svennergr/windows-eventreader/issues"
|
|
26
|
-
},
|
|
27
|
-
"homepage": "https://github.com/svennergr/windows-eventreader",
|
|
28
|
-
"_shasum": "a6f04083fb80b0de12f3cf26520a677aa59668ea"
|
|
19
|
+
"_id": "windows-eventreader@0.0.1",
|
|
20
|
+
"_from": "windows-eventreader@"
|
|
29
21
|
}
|
package/src/EventReader.cpp
CHANGED
|
@@ -48,7 +48,6 @@ Handle<Value> readLog(const Arguments& args) {
|
|
|
48
48
|
TimeSpan ts = TimeSpan::FromMilliseconds(dateTill->NumberValue());
|
|
49
49
|
dateTimeTill=dateTimeTill->Add(ts);
|
|
50
50
|
}
|
|
51
|
-
Console::WriteLine(dateTimeFrom != nullptr);
|
|
52
51
|
|
|
53
52
|
Handle<v8::String> v8LogName = args[0]->ToString();
|
|
54
53
|
|
|
@@ -70,7 +69,6 @@ Handle<Value> readLog(const Arguments& args) {
|
|
|
70
69
|
log->Set(v8::String::NewSymbol("displayName"), v8::String::NewSymbol(managedStringToStdString(myLog->LogDisplayName).c_str()));
|
|
71
70
|
log->Set(v8::String::NewSymbol("logName"), v8::String::NewSymbol(managedStringToStdString(myLog->Log).c_str()));
|
|
72
71
|
log->Set(v8::String::NewSymbol("entries"), v8::Number::New(myLog->Entries->Count));
|
|
73
|
-
Console::WriteLine("read" + myEntry->Category);
|
|
74
72
|
|
|
75
73
|
log->Set(v8::String::NewSymbol("category"), v8::String::NewSymbol(managedStringToStdString(myEntry->Category).c_str()));
|
|
76
74
|
log->Set(v8::String::NewSymbol("entryType"), v8::String::NewSymbol(managedStringToStdString(myEntry->EntryType.ToString()).c_str()));
|
|
@@ -90,7 +88,6 @@ Handle<Value> readLog(const Arguments& args) {
|
|
|
90
88
|
if (myEntry->TimeGenerated.CompareTo(dateTimeTill)>0)
|
|
91
89
|
continue;
|
|
92
90
|
|
|
93
|
-
Console::WriteLine("setting log " + myEntry->Message);
|
|
94
91
|
logs->Set(i++, log);
|
|
95
92
|
|
|
96
93
|
|
|
@@ -113,7 +110,7 @@ Handle<Value> readLog(const Arguments& args) {
|
|
|
113
110
|
|
|
114
111
|
log->Set(v8::String::NewSymbol("category"), v8::String::NewSymbol(managedStringToStdString(myEntry->Category).c_str()));
|
|
115
112
|
log->Set(v8::String::NewSymbol("entryType"), v8::String::NewSymbol(managedStringToStdString(myEntry->EntryType.ToString()).c_str()));
|
|
116
|
-
|
|
113
|
+
|
|
117
114
|
try{
|
|
118
115
|
log->Set(v8::String::NewSymbol("userName"), v8::String::NewSymbol(managedStringToStdString(myEntry->UserName).c_str()));
|
|
119
116
|
log->Set(v8::String::NewSymbol("machineName"), v8::String::NewSymbol(managedStringToStdString(myEntry->MachineName).c_str()));
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|