Skip to content

Commit 81ff600

Browse files
committed
Startup using Windows service instead of scheduled task
1 parent 17c5ba9 commit 81ff600

17 files changed

+1145
-1347
lines changed

Helper32/Helper32.vcxproj

+70-70
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Release|Win32">
5-
<Configuration>Release</Configuration>
6-
<Platform>Win32</Platform>
7-
</ProjectConfiguration>
8-
</ItemGroup>
9-
<PropertyGroup Label="Globals">
10-
<VCProjectVersion>16.0</VCProjectVersion>
11-
<Keyword>Win32Proj</Keyword>
12-
<ProjectGuid>{2d6fdd44-39b1-4ff8-8ae0-60a6b0979f5f}</ProjectGuid>
13-
<RootNamespace>Helper32</RootNamespace>
14-
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
15-
</PropertyGroup>
16-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
18-
<ConfigurationType>DynamicLibrary</ConfigurationType>
19-
<UseDebugLibraries>false</UseDebugLibraries>
20-
<PlatformToolset>v143</PlatformToolset>
21-
<WholeProgramOptimization>true</WholeProgramOptimization>
22-
<CharacterSet>Unicode</CharacterSet>
23-
</PropertyGroup>
24-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
25-
<ImportGroup Label="ExtensionSettings">
26-
</ImportGroup>
27-
<ImportGroup Label="Shared">
28-
<Import Project="..\Helper\Helper.vcxitems" Label="Shared" />
29-
<Import Project="..\r77api\r77api.vcxitems" Label="Shared" />
30-
</ImportGroup>
31-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
32-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
33-
</ImportGroup>
34-
<PropertyGroup Label="UserMacros" />
35-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
36-
<LinkIncremental>false</LinkIncremental>
37-
<GenerateManifest>false</GenerateManifest>
38-
</PropertyGroup>
39-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40-
<ClCompile>
41-
<WarningLevel>Level3</WarningLevel>
42-
<FunctionLevelLinking>true</FunctionLevelLinking>
43-
<IntrinsicFunctions>true</IntrinsicFunctions>
44-
<SDLCheck>false</SDLCheck>
45-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
46-
<ConformanceMode>true</ConformanceMode>
47-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
48-
<CompileAs>CompileAsC</CompileAs>
49-
<BufferSecurityCheck>false</BufferSecurityCheck>
50-
<Optimization>MinSpace</Optimization>
51-
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
52-
</ClCompile>
53-
<Link>
54-
<SubSystem>Windows</SubSystem>
55-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
56-
<OptimizeReferences>true</OptimizeReferences>
57-
<GenerateDebugInformation>false</GenerateDebugInformation>
58-
<AdditionalDependencies>ntdll.lib;shlwapi.lib;taskschd.lib;%(AdditionalDependencies)</AdditionalDependencies>
59-
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
60-
<EntryPointSymbol>DllMain</EntryPointSymbol>
61-
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
62-
</Link>
63-
<PostBuildEvent>
64-
<Command>mkdir "$(SolutionDir)$Build"
65-
xcopy /Y "$(TargetPath)" "$(SolutionDir)$Build"</Command>
66-
</PostBuildEvent>
67-
</ItemDefinitionGroup>
68-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
69-
<ImportGroup Label="ExtensionTargets">
70-
</ImportGroup>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Release|Win32">
5+
<Configuration>Release</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
</ItemGroup>
9+
<PropertyGroup Label="Globals">
10+
<VCProjectVersion>16.0</VCProjectVersion>
11+
<Keyword>Win32Proj</Keyword>
12+
<ProjectGuid>{2d6fdd44-39b1-4ff8-8ae0-60a6b0979f5f}</ProjectGuid>
13+
<RootNamespace>Helper32</RootNamespace>
14+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
15+
</PropertyGroup>
16+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
18+
<ConfigurationType>DynamicLibrary</ConfigurationType>
19+
<UseDebugLibraries>false</UseDebugLibraries>
20+
<PlatformToolset>v143</PlatformToolset>
21+
<WholeProgramOptimization>true</WholeProgramOptimization>
22+
<CharacterSet>Unicode</CharacterSet>
23+
</PropertyGroup>
24+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
25+
<ImportGroup Label="ExtensionSettings">
26+
</ImportGroup>
27+
<ImportGroup Label="Shared">
28+
<Import Project="..\Helper\Helper.vcxitems" Label="Shared" />
29+
<Import Project="..\r77api\r77api.vcxitems" Label="Shared" />
30+
</ImportGroup>
31+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
32+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
33+
</ImportGroup>
34+
<PropertyGroup Label="UserMacros" />
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
36+
<LinkIncremental>false</LinkIncremental>
37+
<GenerateManifest>false</GenerateManifest>
38+
</PropertyGroup>
39+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
40+
<ClCompile>
41+
<WarningLevel>Level3</WarningLevel>
42+
<FunctionLevelLinking>true</FunctionLevelLinking>
43+
<IntrinsicFunctions>true</IntrinsicFunctions>
44+
<SDLCheck>false</SDLCheck>
45+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
46+
<ConformanceMode>true</ConformanceMode>
47+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
48+
<CompileAs>CompileAsC</CompileAs>
49+
<BufferSecurityCheck>false</BufferSecurityCheck>
50+
<Optimization>MinSpace</Optimization>
51+
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
52+
</ClCompile>
53+
<Link>
54+
<SubSystem>Windows</SubSystem>
55+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
56+
<OptimizeReferences>true</OptimizeReferences>
57+
<GenerateDebugInformation>false</GenerateDebugInformation>
58+
<AdditionalDependencies>ntdll.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
59+
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
60+
<EntryPointSymbol>DllMain</EntryPointSymbol>
61+
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
62+
</Link>
63+
<PostBuildEvent>
64+
<Command>mkdir "$(SolutionDir)$Build"
65+
xcopy /Y "$(TargetPath)" "$(SolutionDir)$Build"</Command>
66+
</PostBuildEvent>
67+
</ItemDefinitionGroup>
68+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
69+
<ImportGroup Label="ExtensionTargets">
70+
</ImportGroup>
7171
</Project>

Helper64/Helper64.vcxproj

+70-70
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Release|x64">
5-
<Configuration>Release</Configuration>
6-
<Platform>x64</Platform>
7-
</ProjectConfiguration>
8-
</ItemGroup>
9-
<PropertyGroup Label="Globals">
10-
<VCProjectVersion>16.0</VCProjectVersion>
11-
<Keyword>Win32Proj</Keyword>
12-
<ProjectGuid>{78bb6d02-6e02-4933-89dc-4ad8ee0b303f}</ProjectGuid>
13-
<RootNamespace>Helper64</RootNamespace>
14-
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
15-
</PropertyGroup>
16-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
18-
<ConfigurationType>DynamicLibrary</ConfigurationType>
19-
<UseDebugLibraries>false</UseDebugLibraries>
20-
<PlatformToolset>v143</PlatformToolset>
21-
<WholeProgramOptimization>true</WholeProgramOptimization>
22-
<CharacterSet>Unicode</CharacterSet>
23-
</PropertyGroup>
24-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
25-
<ImportGroup Label="ExtensionSettings">
26-
</ImportGroup>
27-
<ImportGroup Label="Shared">
28-
<Import Project="..\Helper\Helper.vcxitems" Label="Shared" />
29-
<Import Project="..\r77api\r77api.vcxitems" Label="Shared" />
30-
</ImportGroup>
31-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
32-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
33-
</ImportGroup>
34-
<PropertyGroup Label="UserMacros" />
35-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
36-
<LinkIncremental>false</LinkIncremental>
37-
<GenerateManifest>false</GenerateManifest>
38-
</PropertyGroup>
39-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
40-
<ClCompile>
41-
<WarningLevel>Level3</WarningLevel>
42-
<FunctionLevelLinking>true</FunctionLevelLinking>
43-
<IntrinsicFunctions>true</IntrinsicFunctions>
44-
<SDLCheck>false</SDLCheck>
45-
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
46-
<ConformanceMode>true</ConformanceMode>
47-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
48-
<CompileAs>CompileAsC</CompileAs>
49-
<BufferSecurityCheck>false</BufferSecurityCheck>
50-
<Optimization>MinSpace</Optimization>
51-
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
52-
</ClCompile>
53-
<Link>
54-
<SubSystem>Windows</SubSystem>
55-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
56-
<OptimizeReferences>true</OptimizeReferences>
57-
<GenerateDebugInformation>false</GenerateDebugInformation>
58-
<AdditionalDependencies>ntdll.lib;shlwapi.lib;taskschd.lib;%(AdditionalDependencies)</AdditionalDependencies>
59-
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
60-
<EntryPointSymbol>DllMain</EntryPointSymbol>
61-
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
62-
</Link>
63-
<PostBuildEvent>
64-
<Command>mkdir "$(SolutionDir)$Build"
65-
xcopy /Y "$(TargetPath)" "$(SolutionDir)$Build"</Command>
66-
</PostBuildEvent>
67-
</ItemDefinitionGroup>
68-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
69-
<ImportGroup Label="ExtensionTargets">
70-
</ImportGroup>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Release|x64">
5+
<Configuration>Release</Configuration>
6+
<Platform>x64</Platform>
7+
</ProjectConfiguration>
8+
</ItemGroup>
9+
<PropertyGroup Label="Globals">
10+
<VCProjectVersion>16.0</VCProjectVersion>
11+
<Keyword>Win32Proj</Keyword>
12+
<ProjectGuid>{78bb6d02-6e02-4933-89dc-4ad8ee0b303f}</ProjectGuid>
13+
<RootNamespace>Helper64</RootNamespace>
14+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
15+
</PropertyGroup>
16+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
17+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
18+
<ConfigurationType>DynamicLibrary</ConfigurationType>
19+
<UseDebugLibraries>false</UseDebugLibraries>
20+
<PlatformToolset>v143</PlatformToolset>
21+
<WholeProgramOptimization>true</WholeProgramOptimization>
22+
<CharacterSet>Unicode</CharacterSet>
23+
</PropertyGroup>
24+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
25+
<ImportGroup Label="ExtensionSettings">
26+
</ImportGroup>
27+
<ImportGroup Label="Shared">
28+
<Import Project="..\Helper\Helper.vcxitems" Label="Shared" />
29+
<Import Project="..\r77api\r77api.vcxitems" Label="Shared" />
30+
</ImportGroup>
31+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
32+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
33+
</ImportGroup>
34+
<PropertyGroup Label="UserMacros" />
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
36+
<LinkIncremental>false</LinkIncremental>
37+
<GenerateManifest>false</GenerateManifest>
38+
</PropertyGroup>
39+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
40+
<ClCompile>
41+
<WarningLevel>Level3</WarningLevel>
42+
<FunctionLevelLinking>true</FunctionLevelLinking>
43+
<IntrinsicFunctions>true</IntrinsicFunctions>
44+
<SDLCheck>false</SDLCheck>
45+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
46+
<ConformanceMode>true</ConformanceMode>
47+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
48+
<CompileAs>CompileAsC</CompileAs>
49+
<BufferSecurityCheck>false</BufferSecurityCheck>
50+
<Optimization>MinSpace</Optimization>
51+
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
52+
</ClCompile>
53+
<Link>
54+
<SubSystem>Windows</SubSystem>
55+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
56+
<OptimizeReferences>true</OptimizeReferences>
57+
<GenerateDebugInformation>false</GenerateDebugInformation>
58+
<AdditionalDependencies>ntdll.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
59+
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
60+
<EntryPointSymbol>DllMain</EntryPointSymbol>
61+
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
62+
</Link>
63+
<PostBuildEvent>
64+
<Command>mkdir "$(SolutionDir)$Build"
65+
xcopy /Y "$(TargetPath)" "$(SolutionDir)$Build"</Command>
66+
</PostBuildEvent>
67+
</ItemDefinitionGroup>
68+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
69+
<ImportGroup Label="ExtensionTargets">
70+
</ImportGroup>
7171
</Project>

0 commit comments

Comments
 (0)