• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

マウスカーソルへIMEモードの表示


Commit MetaInfo

Revision5c0682fcef9867d22682123882281b260361fa99 (tree)
Time2023-07-26 12:14:20
AuthorJeffyTS <jeffyts@outl...>
CommiterJeffyTS

Log Message

1.1.4.8

Change Summary

Incremental Difference

--- a/FlushMouse.sln
+++ b/FlushMouse.sln
@@ -34,6 +34,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ソリューション項目
3434 EndProject
3535 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlushMouseDLL", "FlushMouseDLL\FlushMouseDLL.vcxproj", "{EC908A5D-8859-4B02-9ACE-023FF407A3A3}"
3636 EndProject
37+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FlushMouseLIB", "FlushMouseLIB\FlushMouseLIB.vcxproj", "{24085CF0-EC19-4A1C-9DDF-1C04A571ED57}"
38+EndProject
3739 Global
3840 GlobalSection(SolutionConfigurationPlatforms) = preSolution
3941 Debug|Mixed Platform for FlushMouse = Debug|Mixed Platform for FlushMouse
@@ -125,6 +127,18 @@ Global
125127 {EC908A5D-8859-4B02-9ACE-023FF407A3A3}.Release|x64.Build.0 = Release|x64
126128 {EC908A5D-8859-4B02-9ACE-023FF407A3A3}.Release|x86.ActiveCfg = Release|Win32
127129 {EC908A5D-8859-4B02-9ACE-023FF407A3A3}.Release|x86.Build.0 = Release|Win32
130+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Debug|Mixed Platform for FlushMouse.ActiveCfg = Debug|x64
131+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Debug|Mixed Platform for FlushMouse.Build.0 = Debug|x64
132+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Debug|x64.ActiveCfg = Debug|x64
133+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Debug|x64.Build.0 = Debug|x64
134+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Debug|x86.ActiveCfg = Debug|Win32
135+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Debug|x86.Build.0 = Debug|Win32
136+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Release|Mixed Platform for FlushMouse.ActiveCfg = Release|x64
137+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Release|Mixed Platform for FlushMouse.Build.0 = Release|x64
138+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Release|x64.ActiveCfg = Release|x64
139+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Release|x64.Build.0 = Release|x64
140+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Release|x86.ActiveCfg = Release|Win32
141+ {24085CF0-EC19-4A1C-9DDF-1C04A571ED57}.Release|x86.Build.0 = Release|Win32
128142 EndGlobalSection
129143 GlobalSection(SolutionProperties) = preSolution
130144 HideSolutionNode = FALSE
--- a/FlushMouse/FlushMouse.cpp
+++ b/FlushMouse/FlushMouse.cpp
@@ -20,9 +20,9 @@
2020
2121 #include "FlushMouse.h"
2222 #include "..\version.h"
23-#include "FlushMouseLIB.h"
24-#include "Resource.h"
25-#include "TaskTray.h"
23+#include "..\FlushMouseLIB\FlushMouseLIB.h"
24+#include "..\FlushMouseLIB\Resource.h"
25+#include "..\FlushMouseLIB\TaskTray.h"
2626 #include "..\FlushMouseDLL\EventlogDll.h"
2727
2828 #if defined _DEBUG
@@ -214,7 +214,7 @@ static INT_PTR CALLBACK AboutDlg(HWND hDlg, UINT message, WPARAM wParam, LPARAM
214214 ZeroMemory(lpszVersion, (sizeof(TCHAR) * MAX_LOADSTRING));
215215 if (lpszVersion) {
216216 ZeroMemory(lpszVersion, (sizeof(TCHAR) * MAX_LOADSTRING));
217- _sntprintf_s(lpszVersion, MAX_LOADSTRING, _TRUNCATE, _T("%d.%d.%d.%d"), MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION, REVISON_VERSION);
217+ _sntprintf_s(lpszVersion, MAX_LOADSTRING, _TRUNCATE, _T("%d.%d.%d.%d"), MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION, REVISION_VERSION);
218218 SetDlgItemText(hDlg, IDC_VERSION, lpszVersion);
219219 delete[] lpszVersion;
220220 }
--- a/FlushMouse/FlushMouse.vcxproj
+++ b/FlushMouse/FlushMouse.vcxproj
@@ -185,8 +185,8 @@
185185 <ConformanceMode>true</ConformanceMode>
186186 <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
187187 <LanguageStandard>stdcpp17</LanguageStandard>
188- <DebugInformationFormat>None</DebugInformationFormat>
189- <SupportJustMyCode>false</SupportJustMyCode>
188+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
189+ <SupportJustMyCode>true</SupportJustMyCode>
190190 <Optimization>MaxSpeed</Optimization>
191191 <WholeProgramOptimization>true</WholeProgramOptimization>
192192 </ClCompile>
@@ -194,7 +194,7 @@
194194 <SubSystem>Windows</SubSystem>
195195 <EnableCOMDATFolding>true</EnableCOMDATFolding>
196196 <OptimizeReferences>true</OptimizeReferences>
197- <GenerateDebugInformation>false</GenerateDebugInformation>
197+ <GenerateDebugInformation>true</GenerateDebugInformation>
198198 <AdditionalLibraryDirectories>$(IntDir)</AdditionalLibraryDirectories>
199199 <AdditionalDependencies>..\$(Platform)\$(Configuration)\MiscLIB.lib;%(AdditionalDependencies)</AdditionalDependencies>
200200 <UACExecutionLevel>AsInvoker</UACExecutionLevel>
@@ -212,31 +212,14 @@
212212 </Manifest>
213213 </ItemDefinitionGroup>
214214 <ItemGroup>
215- <ClInclude Include="CommonDef.h" />
216215 <ClInclude Include="FlushMouse.h" />
217- <ClInclude Include="Cursor.h" />
218- <ClInclude Include="FlushMouseLIB.h" />
219- <ClInclude Include="FlushMouseSub.h" />
220216 <ClInclude Include="framework.h" />
221- <ClInclude Include="Ime.h" />
222217 <ClInclude Include="pch.h" />
223- <ClInclude Include="Profile.h" />
224- <ClInclude Include="Resource.h" />
225218 <ClInclude Include="targetver.h" />
226- <ClInclude Include="TaskTray.h" />
227219 </ItemGroup>
228220 <ItemGroup>
229221 <ClCompile Include="FlushMouse.cpp" />
230- <ClCompile Include="Cursor.cpp" />
231- <ClCompile Include="FlushMouseLIB.cpp" />
232- <ClCompile Include="FlushMouseSub.cpp" />
233- <ClCompile Include="Ime.cpp" />
234222 <ClCompile Include="pch.cpp" />
235- <ClCompile Include="Profile.cpp" />
236- <ClCompile Include="TaskTray.cpp" />
237- </ItemGroup>
238- <ItemGroup>
239- <ResourceCompile Include="FlushMouse.rc" />
240223 </ItemGroup>
241224 <ItemGroup>
242225 <Image Include="FlushMouse.ico" />
@@ -246,13 +229,16 @@
246229 <ProjectReference Include="..\FlushMouseDLL\FlushMouseDLL.vcxproj">
247230 <Project>{ec908a5d-8859-4b02-9ace-023ff407a3a3}</Project>
248231 </ProjectReference>
249- <ProjectReference Include="..\MiscLIB\MiscLIB.vcxproj">
250- <Project>{ccaf431f-ce8e-4879-9b1f-3f1df4ac2269}</Project>
232+ <ProjectReference Include="..\FlushMouseLIB\FlushMouseLIB.vcxproj">
233+ <Project>{24085cf0-ec19-4a1c-9ddf-1c04a571ed57}</Project>
251234 </ProjectReference>
252235 </ItemGroup>
253236 <ItemGroup>
254237 <Manifest Include="FlushMouse.exe.manifest" />
255238 </ItemGroup>
239+ <ItemGroup>
240+ <ResourceCompile Include="..\FlushMouseLIB\FlushMouse.rc" />
241+ </ItemGroup>
256242 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
257243 <ImportGroup Label="ExtensionTargets" />
258244 </Project>
\ No newline at end of file
--- a/FlushMouse/FlushMouse.vcxproj.filters
+++ b/FlushMouse/FlushMouse.vcxproj.filters
@@ -21,67 +21,20 @@
2121 <ClInclude Include="targetver.h">
2222 <Filter>ヘッダー ファイル</Filter>
2323 </ClInclude>
24- <ClInclude Include="Resource.h">
25- <Filter>ヘッダー ファイル</Filter>
26- </ClInclude>
2724 <ClInclude Include="FlushMouse.h">
2825 <Filter>ヘッダー ファイル</Filter>
2926 </ClInclude>
30- <ClInclude Include="FlushMouseSub.h">
31- <Filter>ヘッダー ファイル</Filter>
32- </ClInclude>
3327 <ClInclude Include="pch.h">
3428 <Filter>ヘッダー ファイル</Filter>
3529 </ClInclude>
36- <ClInclude Include="Cursor.h">
37- <Filter>ヘッダー ファイル</Filter>
38- </ClInclude>
39- <ClInclude Include="Profile.h">
40- <Filter>ヘッダー ファイル</Filter>
41- </ClInclude>
42- <ClInclude Include="FlushMouseLIB.h">
43- <Filter>ヘッダー ファイル</Filter>
44- </ClInclude>
45- <ClInclude Include="CommonDef.h">
46- <Filter>ヘッダー ファイル</Filter>
47- </ClInclude>
48- <ClInclude Include="Ime.h">
49- <Filter>ヘッダー ファイル</Filter>
50- </ClInclude>
51- <ClInclude Include="TaskTray.h">
52- <Filter>ヘッダー ファイル</Filter>
53- </ClInclude>
5430 </ItemGroup>
5531 <ItemGroup>
5632 <ClCompile Include="FlushMouse.cpp">
5733 <Filter>ソース ファイル</Filter>
5834 </ClCompile>
59- <ClCompile Include="FlushMouseSub.cpp">
60- <Filter>ソース ファイル</Filter>
61- </ClCompile>
6235 <ClCompile Include="pch.cpp">
6336 <Filter>ソース ファイル</Filter>
6437 </ClCompile>
65- <ClCompile Include="Cursor.cpp">
66- <Filter>ソース ファイル</Filter>
67- </ClCompile>
68- <ClCompile Include="Profile.cpp">
69- <Filter>ソース ファイル</Filter>
70- </ClCompile>
71- <ClCompile Include="FlushMouseLIB.cpp">
72- <Filter>ソース ファイル</Filter>
73- </ClCompile>
74- <ClCompile Include="Ime.cpp">
75- <Filter>ソース ファイル</Filter>
76- </ClCompile>
77- <ClCompile Include="TaskTray.cpp">
78- <Filter>ソース ファイル</Filter>
79- </ClCompile>
80- </ItemGroup>
81- <ItemGroup>
82- <ResourceCompile Include="FlushMouse.rc">
83- <Filter>リソース ファイル</Filter>
84- </ResourceCompile>
8538 </ItemGroup>
8639 <ItemGroup>
8740 <Image Include="small.ico">
@@ -94,4 +47,9 @@
9447 <ItemGroup>
9548 <Manifest Include="FlushMouse.exe.manifest" />
9649 </ItemGroup>
50+ <ItemGroup>
51+ <ResourceCompile Include="..\FlushMouseLIB\FlushMouse.rc">
52+ <Filter>リソース ファイル</Filter>
53+ </ResourceCompile>
54+ </ItemGroup>
9755 </Project>
\ No newline at end of file
--- a/FlushMouse/pch.h
+++ b/FlushMouse/pch.h
@@ -8,21 +8,10 @@
88 #define PCH_H
99
1010 // プリコンパイルするヘッダーをここに追加します
11-#define OEMRESOURCE
1211 #include "framework.h"
1312 #include "targetver.h"
1413 #include <windows.h>
1514 #include <windowsx.h>
1615 #include <tchar.h>
17-#include <shellapi.h>
18-#include <shellscalingapi.h>
19-#pragma comment(lib, "Shcore.lib")
20-#include <commctrl.h>
21-#pragma comment(lib, "comctl32.lib")
22-#include <imm.h>
23-#include <ime_cmodes.h>
24-#pragma comment(lib, "Imm32.lib")
25-#include <oleacc.h>
26-#pragma comment(lib, "Oleacc.lib")
2716
2817 #endif //PCH_H
--- a/FlushMouse32/FlushMouse32.cpp
+++ b/FlushMouse32/FlushMouse32.cpp
@@ -14,7 +14,7 @@
1414 #include "pch.h"
1515 #include "FlushMouse32.h"
1616 #include "Resource.h"
17-#include "..\FlushMouse\CommonDef.h"
17+#include "..\FlushMouseLIB\CommonDef.h"
1818 #include "..\FlushMouseDLL\EventlogData.h"
1919 #include "..\FlushMouseDLL32\FlushMouseDll32.h"
2020 #include "..\FlushMouseDLL32\MouseHookDll32.h"
--- a/FlushMouse32/FlushMouse32.vcxproj
+++ b/FlushMouse32/FlushMouse32.vcxproj
@@ -133,7 +133,8 @@
133133 <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
134134 <ConformanceMode>true</ConformanceMode>
135135 <LanguageStandard>stdcpp17</LanguageStandard>
136- <DebugInformationFormat>None</DebugInformationFormat>
136+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
137+ <SupportJustMyCode>true</SupportJustMyCode>
137138 </ClCompile>
138139 <Link>
139140 <SubSystem>Windows</SubSystem>
--- a/FlushMouseCursor/FlushMouseCursor.vcxproj
+++ b/FlushMouseCursor/FlushMouseCursor.vcxproj
@@ -179,13 +179,14 @@
179179 <PrecompiledHeader>NotUsing</PrecompiledHeader>
180180 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
181181 <LanguageStandard>stdcpp17</LanguageStandard>
182- <DebugInformationFormat>None</DebugInformationFormat>
182+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
183+ <SupportJustMyCode>true</SupportJustMyCode>
183184 </ClCompile>
184185 <Link>
185186 <SubSystem>Windows</SubSystem>
186187 <EnableCOMDATFolding>true</EnableCOMDATFolding>
187188 <OptimizeReferences>true</OptimizeReferences>
188- <GenerateDebugInformation>false</GenerateDebugInformation>
189+ <GenerateDebugInformation>true</GenerateDebugInformation>
189190 <EnableUAC>false</EnableUAC>
190191 </Link>
191192 <PostBuildEvent>
--- a/FlushMouseDLL/FlushMouseDLL.vcxproj
+++ b/FlushMouseDLL/FlushMouseDLL.vcxproj
@@ -168,14 +168,15 @@
168168 <PrecompiledHeader>Use</PrecompiledHeader>
169169 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
170170 <LanguageStandard>stdcpp17</LanguageStandard>
171- <DebugInformationFormat>None</DebugInformationFormat>
171+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
172172 <CompileAsWinRT>false</CompileAsWinRT>
173+ <SupportJustMyCode>true</SupportJustMyCode>
173174 </ClCompile>
174175 <Link>
175176 <SubSystem>Windows</SubSystem>
176177 <EnableCOMDATFolding>true</EnableCOMDATFolding>
177178 <OptimizeReferences>true</OptimizeReferences>
178- <GenerateDebugInformation>false</GenerateDebugInformation>
179+ <GenerateDebugInformation>true</GenerateDebugInformation>
179180 <EnableUAC>false</EnableUAC>
180181 <AdditionalDependencies>..\$(Platform)\$(Configuration)\MiscLIB.lib;%(AdditionalDependencies)</AdditionalDependencies>
181182 </Link>
@@ -197,7 +198,7 @@
197198 <ClInclude Include="GlobalHookDll.h" />
198199 <ClInclude Include="KeyboardHookDll.h" />
199200 <ClInclude Include="pch.h" />
200- <ClInclude Include="resource.h" />
201+ <ClInclude Include="Resource.h" />
201202 <ClInclude Include="ShellHookDll.h" />
202203 <ClInclude Include="targetver.h" />
203204 </ItemGroup>
--- a/FlushMouseDLL/FlushMouseDLL.vcxproj.filters
+++ b/FlushMouseDLL/FlushMouseDLL.vcxproj.filters
@@ -27,7 +27,7 @@
2727 <ClInclude Include="targetver.h">
2828 <Filter>ヘッダー ファイル</Filter>
2929 </ClInclude>
30- <ClInclude Include="resource.h">
30+ <ClInclude Include="Resource.h">
3131 <Filter>ヘッダー ファイル</Filter>
3232 </ClInclude>
3333 <ClInclude Include="EventlogDll.h">
--- a/FlushMouseDLL/GlobalHookDll.cpp
+++ b/FlushMouseDLL/GlobalHookDll.cpp
@@ -13,7 +13,7 @@
1313 #pragma once
1414 #include "pch.h"
1515 #include "GlobalHookDll.h"
16-#include "..\FlushMouse\CommonDef.h"
16+#include "..\FlushMouseLIB\CommonDef.h"
1717
1818 //
1919 // Define
--- a/FlushMouseDLL/KeyboardHookDll.cpp
+++ b/FlushMouseDLL/KeyboardHookDll.cpp
@@ -13,7 +13,7 @@
1313 #pragma once
1414 #include "pch.h"
1515 #include "KeyboardHookDll.h"
16-#include "..\FlushMouse\CommonDef.h"
16+#include "..\FlushMouseLIB\CommonDef.h"
1717 #include "..\MiscLIB\CRegistry.h"
1818
1919 //
--- a/FlushMouseDLL/ShellHookDll.cpp
+++ b/FlushMouseDLL/ShellHookDll.cpp
@@ -13,7 +13,7 @@
1313 #pragma once
1414 #include "pch.h"
1515 #include "ShellHookDll.h"
16-#include "..\FlushMouse\CommonDef.h"
16+#include "..\FlushMouseLIB\CommonDef.h"
1717
1818 //
1919 // Define
@@ -107,14 +107,8 @@ static LRESULT CALLBACK lpShellHookProc(int nCode, WPARAM wParam, LPARAM lParam)
107107 return CallNextHookEx(NULL, nCode, wParam, lParam);
108108 }
109109 switch (nCode) {
110- case HSHELL_WINDOWACTIVATED:
111- PostMessage(hWndShellParent, WM_EVENT_SYSTEM_FOREGROUNDEX, (WPARAM)(-1), (LPARAM)wParam);
112- break;
113110 case HSHELL_LANGUAGE:
114- PostMessage(hWndShellParent, WM_INPUTLANGCHANGEEX, wParam, lParam);
115- break;
116- case HSHELL_WINDOWREPLACED:
117- PostMessage(hWndShellParent, WM_EVENT_SYSTEM_FOREGROUNDEX, (WPARAM)(-1), (LPARAM)lParam);
111+ PostMessage(FindWindow(CLASS_FLUSHMOUSE, NULL), WM_INPUTLANGCHANGEEX, wParam, lParam);
118112 break;
119113 }
120114 return (LRESULT)0;
--- a/FlushMouseDLL32/FlushMouseDLL32.vcxproj
+++ b/FlushMouseDLL32/FlushMouseDLL32.vcxproj
@@ -125,13 +125,14 @@
125125 <PrecompiledHeader>Use</PrecompiledHeader>
126126 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
127127 <LanguageStandard>stdcpp17</LanguageStandard>
128- <DebugInformationFormat>None</DebugInformationFormat>
128+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
129+ <SupportJustMyCode>true</SupportJustMyCode>
129130 </ClCompile>
130131 <Link>
131132 <SubSystem>Windows</SubSystem>
132133 <EnableCOMDATFolding>true</EnableCOMDATFolding>
133134 <OptimizeReferences>true</OptimizeReferences>
134- <GenerateDebugInformation>false</GenerateDebugInformation>
135+ <GenerateDebugInformation>true</GenerateDebugInformation>
135136 <EnableUAC>false</EnableUAC>
136137 <AdditionalDependencies>..\$(Platform)\$(Configuration)\MiscLIB32.lib;%(AdditionalDependencies)</AdditionalDependencies>
137138 </Link>
--- a/FlushMouse/Cursor.cpp
+++ b/FlushMouseLIB/Cursor.cpp
@@ -4,7 +4,7 @@
44 //
55 // No. Date Name Reason & Document
66 // -------+-----------+-----------+-------------------------------------------- -
7-// #0000 2022/03/03 JeffyTS New edit.
7+// #0000 2022/03/03 JeffyTS New edit.
88 //
99
1010 // Include
Binary files /dev/null and b/FlushMouseLIB/FlushMouse.ico differ
Binary files a/FlushMouse/FlushMouse.rc and b/FlushMouseLIB/FlushMouse.rc differ
--- /dev/null
+++ b/FlushMouseLIB/FlushMouseLIB.vcxproj
@@ -0,0 +1,218 @@
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="Debug|Win32">
5+ <Configuration>Debug</Configuration>
6+ <Platform>Win32</Platform>
7+ </ProjectConfiguration>
8+ <ProjectConfiguration Include="Release|Win32">
9+ <Configuration>Release</Configuration>
10+ <Platform>Win32</Platform>
11+ </ProjectConfiguration>
12+ <ProjectConfiguration Include="Debug|x64">
13+ <Configuration>Debug</Configuration>
14+ <Platform>x64</Platform>
15+ </ProjectConfiguration>
16+ <ProjectConfiguration Include="Release|x64">
17+ <Configuration>Release</Configuration>
18+ <Platform>x64</Platform>
19+ </ProjectConfiguration>
20+ </ItemGroup>
21+ <PropertyGroup Label="Globals">
22+ <VCProjectVersion>16.0</VCProjectVersion>
23+ <Keyword>Win32Proj</Keyword>
24+ <ProjectGuid>{24085cf0-ec19-4a1c-9ddf-1c04a571ed57}</ProjectGuid>
25+ <RootNamespace>FlushMouseLIB</RootNamespace>
26+ <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27+ </PropertyGroup>
28+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
29+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
30+ <ConfigurationType>StaticLibrary</ConfigurationType>
31+ <UseDebugLibraries>true</UseDebugLibraries>
32+ <PlatformToolset>v143</PlatformToolset>
33+ <CharacterSet>Unicode</CharacterSet>
34+ </PropertyGroup>
35+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
36+ <ConfigurationType>StaticLibrary</ConfigurationType>
37+ <UseDebugLibraries>false</UseDebugLibraries>
38+ <PlatformToolset>v143</PlatformToolset>
39+ <WholeProgramOptimization>true</WholeProgramOptimization>
40+ <CharacterSet>Unicode</CharacterSet>
41+ </PropertyGroup>
42+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
43+ <ConfigurationType>StaticLibrary</ConfigurationType>
44+ <UseDebugLibraries>true</UseDebugLibraries>
45+ <PlatformToolset>v143</PlatformToolset>
46+ <CharacterSet>Unicode</CharacterSet>
47+ </PropertyGroup>
48+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
49+ <ConfigurationType>StaticLibrary</ConfigurationType>
50+ <UseDebugLibraries>false</UseDebugLibraries>
51+ <PlatformToolset>v143</PlatformToolset>
52+ <WholeProgramOptimization>true</WholeProgramOptimization>
53+ <CharacterSet>Unicode</CharacterSet>
54+ </PropertyGroup>
55+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
56+ <ImportGroup Label="ExtensionSettings">
57+ </ImportGroup>
58+ <ImportGroup Label="Shared">
59+ </ImportGroup>
60+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
61+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62+ </ImportGroup>
63+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
64+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65+ </ImportGroup>
66+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
67+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
68+ </ImportGroup>
69+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
70+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
71+ </ImportGroup>
72+ <PropertyGroup Label="UserMacros" />
73+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
75+ <IntDir>$(Platform)\$(Configuration)\</IntDir>
76+ <AllProjectBMIsArePublic>false</AllProjectBMIsArePublic>
77+ </PropertyGroup>
78+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
79+ <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
80+ <IntDir>$(Platform)\$(Configuration)\</IntDir>
81+ <AllProjectBMIsArePublic>false</AllProjectBMIsArePublic>
82+ </PropertyGroup>
83+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
84+ <AllProjectBMIsArePublic>false</AllProjectBMIsArePublic>
85+ </PropertyGroup>
86+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
87+ <AllProjectBMIsArePublic>false</AllProjectBMIsArePublic>
88+ </PropertyGroup>
89+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
90+ <ClCompile>
91+ <WarningLevel>Level4</WarningLevel>
92+ <SDLCheck>true</SDLCheck>
93+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94+ <ConformanceMode>true</ConformanceMode>
95+ <PrecompiledHeader>Use</PrecompiledHeader>
96+ <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
97+ <LanguageStandard>stdcpp17</LanguageStandard>
98+ <AdditionalOptions>/Zc:throwingNew- %(AdditionalOptions)</AdditionalOptions>
99+ </ClCompile>
100+ <Link>
101+ <SubSystem>
102+ </SubSystem>
103+ <GenerateDebugInformation>true</GenerateDebugInformation>
104+ </Link>
105+ </ItemDefinitionGroup>
106+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
107+ <ClCompile>
108+ <WarningLevel>Level4</WarningLevel>
109+ <FunctionLevelLinking>true</FunctionLevelLinking>
110+ <IntrinsicFunctions>true</IntrinsicFunctions>
111+ <SDLCheck>true</SDLCheck>
112+ <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
113+ <ConformanceMode>true</ConformanceMode>
114+ <PrecompiledHeader>Use</PrecompiledHeader>
115+ <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
116+ <LanguageStandard>stdcpp17</LanguageStandard>
117+ <AdditionalOptions>/Zc:throwingNew- %(AdditionalOptions)</AdditionalOptions>
118+ </ClCompile>
119+ <Link>
120+ <SubSystem>
121+ </SubSystem>
122+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
123+ <OptimizeReferences>true</OptimizeReferences>
124+ <GenerateDebugInformation>true</GenerateDebugInformation>
125+ </Link>
126+ </ItemDefinitionGroup>
127+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
128+ <ClCompile>
129+ <WarningLevel>Level4</WarningLevel>
130+ <SDLCheck>true</SDLCheck>
131+ <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
132+ <ConformanceMode>true</ConformanceMode>
133+ <LanguageStandard>stdcpp17</LanguageStandard>
134+ <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
135+ <CompileAsWinRT>false</CompileAsWinRT>
136+ <CompileAsManaged>false</CompileAsManaged>
137+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
138+ <ExceptionHandling>Sync</ExceptionHandling>
139+ <BasicRuntimeChecks>Default</BasicRuntimeChecks>
140+ <AdditionalOptions>/Zc:throwingNew- %(AdditionalOptions)</AdditionalOptions>
141+ </ClCompile>
142+ <Link>
143+ <SubSystem>
144+ </SubSystem>
145+ <GenerateDebugInformation>true</GenerateDebugInformation>
146+ </Link>
147+ </ItemDefinitionGroup>
148+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
149+ <ClCompile>
150+ <WarningLevel>Level4</WarningLevel>
151+ <FunctionLevelLinking>true</FunctionLevelLinking>
152+ <IntrinsicFunctions>true</IntrinsicFunctions>
153+ <SDLCheck>true</SDLCheck>
154+ <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
155+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
156+ <SupportJustMyCode>true</SupportJustMyCode>
157+ <Optimization>MaxSpeed</Optimization>
158+ <WholeProgramOptimization>true</WholeProgramOptimization>
159+ <ConformanceMode>true</ConformanceMode>
160+ <CompileAsWinRT>false</CompileAsWinRT>
161+ <CompileAsManaged>false</CompileAsManaged>
162+ <ExceptionHandling>Sync</ExceptionHandling>
163+ <PrecompiledHeader>Use</PrecompiledHeader>
164+ <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
165+ <LanguageStandard>stdcpp17</LanguageStandard>
166+ <AdditionalOptions>/Zc:throwingNew- %(AdditionalOptions)</AdditionalOptions>
167+ </ClCompile>
168+ <Link>
169+ <SubSystem>
170+ </SubSystem>
171+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
172+ <OptimizeReferences>true</OptimizeReferences>
173+ <GenerateDebugInformation>true</GenerateDebugInformation>
174+ </Link>
175+ </ItemDefinitionGroup>
176+ <ItemGroup>
177+ <ClInclude Include="CommonDef.h" />
178+ <ClInclude Include="Cursor.h" />
179+ <ClInclude Include="FlushMouseLIB.h" />
180+ <ClInclude Include="FlushMouseSub.h" />
181+ <ClInclude Include="framework.h" />
182+ <ClInclude Include="Ime.h" />
183+ <ClInclude Include="pch.h" />
184+ <ClInclude Include="Profile.h" />
185+ <ClInclude Include="Resource.h" />
186+ <ClInclude Include="targetver.h" />
187+ <ClInclude Include="TaskTray.h" />
188+ </ItemGroup>
189+ <ItemGroup>
190+ <ClCompile Include="Cursor.cpp" />
191+ <ClCompile Include="FlushMouseLIB.cpp" />
192+ <ClCompile Include="FlushMouseSub.cpp" />
193+ <ClCompile Include="Ime.cpp" />
194+ <ClCompile Include="pch.cpp">
195+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
196+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
197+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
198+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
199+ </ClCompile>
200+ <ClCompile Include="Profile.cpp" />
201+ <ClCompile Include="TaskTray.cpp" />
202+ </ItemGroup>
203+ <ItemGroup>
204+ <Image Include="FlushMouse.ico" />
205+ <Image Include="small.ico" />
206+ </ItemGroup>
207+ <ItemGroup>
208+ <ResourceCompile Include="FlushMouse.rc" />
209+ </ItemGroup>
210+ <ItemGroup>
211+ <ProjectReference Include="..\FlushMouseDLL\FlushMouseDLL.vcxproj">
212+ <Project>{ec908a5d-8859-4b02-9ace-023ff407a3a3}</Project>
213+ </ProjectReference>
214+ </ItemGroup>
215+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
216+ <ImportGroup Label="ExtensionTargets">
217+ </ImportGroup>
218+</Project>
\ No newline at end of file
--- /dev/null
+++ b/FlushMouseLIB/FlushMouseLIB.vcxproj.filters
@@ -0,0 +1,88 @@
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>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6+ <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7+ </Filter>
8+ <Filter Include="ヘッダー ファイル">
9+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10+ <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
11+ </Filter>
12+ <Filter Include="リソース ファイル">
13+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
15+ </Filter>
16+ </ItemGroup>
17+ <ItemGroup>
18+ <ClInclude Include="framework.h">
19+ <Filter>ヘッダー ファイル</Filter>
20+ </ClInclude>
21+ <ClInclude Include="pch.h">
22+ <Filter>ヘッダー ファイル</Filter>
23+ </ClInclude>
24+ <ClInclude Include="Cursor.h">
25+ <Filter>ヘッダー ファイル</Filter>
26+ </ClInclude>
27+ <ClInclude Include="FlushMouseLIB.h">
28+ <Filter>ヘッダー ファイル</Filter>
29+ </ClInclude>
30+ <ClInclude Include="FlushMouseSub.h">
31+ <Filter>ヘッダー ファイル</Filter>
32+ </ClInclude>
33+ <ClInclude Include="Profile.h">
34+ <Filter>ヘッダー ファイル</Filter>
35+ </ClInclude>
36+ <ClInclude Include="targetver.h">
37+ <Filter>ヘッダー ファイル</Filter>
38+ </ClInclude>
39+ <ClInclude Include="Resource.h">
40+ <Filter>ヘッダー ファイル</Filter>
41+ </ClInclude>
42+ <ClInclude Include="CommonDef.h">
43+ <Filter>ヘッダー ファイル</Filter>
44+ </ClInclude>
45+ <ClInclude Include="Ime.h">
46+ <Filter>ヘッダー ファイル</Filter>
47+ </ClInclude>
48+ <ClInclude Include="TaskTray.h">
49+ <Filter>ヘッダー ファイル</Filter>
50+ </ClInclude>
51+ </ItemGroup>
52+ <ItemGroup>
53+ <ClCompile Include="FlushMouseLIB.cpp">
54+ <Filter>ソース ファイル</Filter>
55+ </ClCompile>
56+ <ClCompile Include="pch.cpp">
57+ <Filter>ソース ファイル</Filter>
58+ </ClCompile>
59+ <ClCompile Include="Cursor.cpp">
60+ <Filter>ソース ファイル</Filter>
61+ </ClCompile>
62+ <ClCompile Include="FlushMouseSub.cpp">
63+ <Filter>ソース ファイル</Filter>
64+ </ClCompile>
65+ <ClCompile Include="Profile.cpp">
66+ <Filter>ソース ファイル</Filter>
67+ </ClCompile>
68+ <ClCompile Include="Ime.cpp">
69+ <Filter>ソース ファイル</Filter>
70+ </ClCompile>
71+ <ClCompile Include="TaskTray.cpp">
72+ <Filter>ソース ファイル</Filter>
73+ </ClCompile>
74+ </ItemGroup>
75+ <ItemGroup>
76+ <Image Include="FlushMouse.ico">
77+ <Filter>リソース ファイル</Filter>
78+ </Image>
79+ <Image Include="small.ico">
80+ <Filter>リソース ファイル</Filter>
81+ </Image>
82+ </ItemGroup>
83+ <ItemGroup>
84+ <ResourceCompile Include="FlushMouse.rc">
85+ <Filter>リソース ファイル</Filter>
86+ </ResourceCompile>
87+ </ItemGroup>
88+</Project>
\ No newline at end of file
--- /dev/null
+++ b/FlushMouseLIB/framework.h
@@ -0,0 +1,16 @@
1+// header.h : 標準のシステム インクルード ファイルのインクルード ファイル、
2+// またはプロジェクト専用のインクルード ファイル
3+//
4+
5+#pragma once
6+
7+#include "targetver.h"
8+//#define WIN32_LEAN_AND_MEAN // Windows ヘッダーからほとんど使用されていない部分を除外する
9+
10+// Windows ヘッダー ファイル
11+#include <windows.h>
12+// C ランタイム ヘッダー ファイル
13+#include <stdlib.h>
14+#include <malloc.h>
15+#include <memory.h>
16+#include <tchar.h>
--- /dev/null
+++ b/FlushMouseLIB/pch.cpp
@@ -0,0 +1,5 @@
1+// pch.cpp: プリコンパイル済みヘッダーに対応するソース ファイル
2+
3+#include "pch.h"
4+
5+// プリコンパイル済みヘッダーを使用している場合、コンパイルを成功させるにはこのソース ファイルが必要です。
--- /dev/null
+++ b/FlushMouseLIB/pch.h
@@ -0,0 +1,28 @@
1+// pch.h: プリコンパイル済みヘッダー ファイルです。
2+// 次のファイルは、その後のビルドのビルド パフォーマンスを向上させるため 1 回だけコンパイルされます。
3+// コード補完や多くのコード参照機能などの IntelliSense パフォーマンスにも影響します。
4+// ただし、ここに一覧表示されているファイルは、ビルド間でいずれかが更新されると、すべてが再コンパイルされます。
5+// 頻繁に更新するファイルをここに追加しないでください。追加すると、パフォーマンス上の利点がなくなります。
6+
7+#ifndef PCH_H
8+#define PCH_H
9+
10+// プリコンパイルするヘッダーをここに追加します
11+#define OEMRESOURCE
12+#include "framework.h"
13+#include "targetver.h"
14+#include <windows.h>
15+#include <windowsx.h>
16+#include <tchar.h>
17+#include <shellapi.h>
18+#include <shellscalingapi.h>
19+#pragma comment(lib, "Shcore.lib")
20+#include <commctrl.h>
21+#pragma comment(lib, "comctl32.lib")
22+#include <imm.h>
23+#include <ime_cmodes.h>
24+#pragma comment(lib, "Imm32.lib")
25+#include <oleacc.h>
26+#pragma comment(lib, "Oleacc.lib")
27+
28+#endif //PCH_H
Binary files /dev/null and b/FlushMouseLIB/small.ico differ
--- /dev/null
+++ b/FlushMouseLIB/targetver.h
@@ -0,0 +1,6 @@
1+#pragma once
2+
3+// // SDKDDKVer.h をインクルードすると、利用できる最も高いレベルの Windows プラットフォームが定義されます。
4+// 以前の Windows プラットフォーム用にアプリケーションをビルドする場合は、WinSDKVer.h をインクルードし、
5+// サポートしたいプラットフォームに _WIN32_WINNT マクロを設定してから SDKDDKVer.h をインクルードします。
6+#include <SDKDDKVer.h>
Binary files a/FlushMouse_x64.msi and b/FlushMouse_x64.msi differ
--- a/MiscLIB/MiscLIB.vcxproj
+++ b/MiscLIB/MiscLIB.vcxproj
@@ -141,7 +141,8 @@
141141 <PrecompiledHeader>NotUsing</PrecompiledHeader>
142142 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
143143 <LanguageStandard>stdcpp17</LanguageStandard>
144- <DebugInformationFormat>None</DebugInformationFormat>
144+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
145+ <SupportJustMyCode>true</SupportJustMyCode>
145146 </ClCompile>
146147 <Link>
147148 <SubSystem>
--- a/MiscLIB32/MiscLIB32.vcxproj
+++ b/MiscLIB32/MiscLIB32.vcxproj
@@ -105,7 +105,8 @@
105105 <PrecompiledHeader>NotUsing</PrecompiledHeader>
106106 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
107107 <LanguageStandard>stdcpp17</LanguageStandard>
108- <DebugInformationFormat>None</DebugInformationFormat>
108+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
109+ <SupportJustMyCode>true</SupportJustMyCode>
109110 </ClCompile>
110111 <Link>
111112 <SubSystem>
--- a/README.md
+++ b/README.md
@@ -5,10 +5,13 @@
55
66 #### リリース情報
77
8-* **2023/07/17  Version 1.1.3.7 をリリースしました**
8+* **2023/07/26  Version 1.1.4.8 をリリースしました**
99
1010 * **(主な変更点)**
11- * EP Helperの機能を強化して、US / ENGになってしまうのをさらに防ぐようにしました
11+ * リリース版でもデバッグシンボルを出力するようにしました
12+ * 今後、設定画面のUIを強化を予定していますので、ソース構成を変更しました
13+ * 軽微なバグを修正しました
14+
1215 * 最近(2023/07以降)、[OSDN/FlushMouse](https://osdn.net/users/jeffyts/pf/FlushMouse/wiki/FrontPage) が、不安定なようですので、 [GitHub/FlushMouse](https://github.com/JeffyTS-JP/FlushMouse)の方をチェックしていただいたほうが良いかもしれません(できるだけ、どちらにも同じソースとバイナリが置くようにはします)
1316 * 上記のような事情で、OSDNの Wikiは簡単な説明に変更して、詳しい内容はREADME.mdで行うようにしました。ビルド方法については下の方に書いてあります
1417
@@ -30,8 +33,8 @@
3033 #### インストール / アンインストール
3134 * Windows Installer (msi)形式になっています。実行してインストールしてください
3235 * アンインストールは「設定」の「アプリと機能」、または「コントロールパネル」の「プログラムと機能」からできます
33- * または、同じバージョンのインストーラーがあればそれをもう一度実行してもアンインストールできます[[BR]]
34- * こちらの場合は、本プログラムの設定(レジストリ)を削除するかどうかを選べます(デフォルトでは残すようにしてあります)[[BR]]
36+ * または、同じバージョンのインストーラーがあればそれをもう一度実行してもアンインストールできます
37+ * こちらの場合は、本プログラムの設定(レジストリ)を削除するかどうかを選べます(デフォルトでは残すようにしてあります)
3538
3639 #### 使い方
3740 * スタートメニュー、デスクトップのアイコンをクリックするか、PCを起動するとタスクトレイに常駐します(ただし、PC再起動で起動しないと、一部のアプリでモード表示されない現象が発生します)
@@ -115,7 +118,7 @@
115118 |英数 |   あ / A   |    -    |    -    |
116119
117120
118-#### ビルド方法**
121+#### ビルド方法
119122
120123 * まず、Visual Studio 2022 の開発環境が必要になりますので、二つの方法を紹介します
121124
--- a/SetupProject/Product.wxs
+++ b/SetupProject/Product.wxs
@@ -33,14 +33,11 @@
3333 Comments="$(var.Comments)"
3434 Manufacturer="$(var.Manufacturer)" />
3535
36- <!-- @@@ for Major Upgrade -->
37- <MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="[ProductName] の新しいバージョンがすでにインストールされています。" />
38- <!-- @@@ for Upgrade -->
36+ <!-- for Upgrade -->
3937 <Property Id='PREVIOUSVERSIONSINSTALLED' Secure='yes' />
4038 <Upgrade Id="{8B8C6810-E467-498D-926C-F4139B2AE8AB}">
41- <!--UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' Minimum='$(var.Version)' IncludeMinimum='no' /-->
4239 <UpgradeVersion OnlyDetect='no' Property='PREVIOUSFOUND' Minimum='0.0.0.0' IncludeMinimum='yes' Maximum='$(var.Version)' IncludeMaximum='no' />
43- <UpgradeVersion OnlyDetect='yes' Property='SELFFOUND' Minimum='0.0.0.0' IncludeMinimum='yes' Maximum='$(var.Version)' IncludeMaximum='yes' />
40+ <UpgradeVersion OnlyDetect='yes' Property='SELFFOUND' Minimum='$(var.Version)' IncludeMinimum='yes' Maximum='$(var.Version)' IncludeMaximum='yes' />
4441 <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' Minimum='$(var.Version)' IncludeMinimum='no' />
4542 </Upgrade>
4643
@@ -51,12 +48,7 @@
5148 <Icon Id="MainIcon" SourceFile="$(var.IcoSrcFile)" />
5249 <Property Id="ARPPRODUCTICON" Value="MainIcon" />
5350 <UIRef Id="_WixUI_FeatureTree" />
54- <!--UIRef Id="WixUI_Minimal" /-->
55- <!--UIRef Id="WixUI_FeatureTree" /-->
56- <!--UIRef Id="WixUI_Mondo" /-->
57- <!--UIRef Id="WixUI_Advanced" /-->
5851 <UIRef Id="WixUI_ErrorProgressText" />
59- <!--Property Id="ARPNOREMOVE" Value="1"/-->
6052 <Property Id="ARPNOMODIFY" Value="1"/>
6153 <Property Id="ARPNOREPAIR" Value="1"/>
6254 <!-- Install Directory -->
@@ -76,26 +68,16 @@
7668 <!-- Condition -->
7769 <Condition Message="Windows 10 Anniversary update 以降が必要です"> WindowsBuild &lt; 14390 </Condition>
7870 <Condition Message="64bitのWindows 10 Anniversary update 以降が必要です"> NOT (%PROCESSOR_ARCHITECTURE="x86") </Condition>
79- <!-- Verify Dialog for Short cut , Start menu & application Launch menu -->
8071 <Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOXTEXT1" Value=" デスクトップにショートカットを作成する" />
8172 <Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOX1" Value="1" />
8273 <Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOXTEXT2" Value=" スタートメニューに登録する" />
83- <!--Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOX2" Value="1" /-->
8474 <Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOXTEXT3" Value=" セットアップを終了したら、すぐに $(var.ProductName) を実行する" />
8575 <Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOX3" Value="1" />
8676 <!-- Exit Dialog for application Launch -->
87- <!-- Comment out for default Check box off Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOX2" Value="2" /-->
88- <!--Property Id="WIXUI_VERIFYDIALOGOPTIONALCOMMENT1" Value=" セットアップが完了したら再起動してください" /-->
8977 <!-- Verify Dialog for Uninstall Registry -->
9078 <Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOXTEXT4" Value=" $(var.ProductName) の設定情報を削除する" />
91- <!--Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOX4" Value="1" /-->
92- <!-- Comment out for default Check box off Property Id="WIXUI_VERIFYDIALOGOPTIONALCHECKBOX3" Value="1" /-->
93- <!-- Exit Dialog for application Launch -->
94- <!--Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value=" セットアップを終了したら、すぐに $(var.ProductName) を実行する  (ただし、全機能を使用するためにはWindowsの再起動が必要です)" />
95- <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" /-->
9679
9780 <UI>
98- <!-- WixUtilExtension が必要 -->
9981 <!-- Majour Upgrade Dialog-->
10082 <Dialog Id="NewerFoundDlg" Width="270" Height="105" Title="[ProductName] セットアップ" NoMinimize="yes">
10183 <Control Id="MessageText" Type="Text" X="48" Y="15" Width="205" Height="60" TabSkip="no" Text="[ProductName] の新しいバージョンがすでにインストールされています。" />
@@ -112,11 +94,8 @@
11294 <Control Id="SeelfFoundDlgIcon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="!(loc.ErrorDlgErrorIconTooltip)" FixedSize="yes" IconSize="32" Text="!(loc.ErrorDlgErrorIcon)" />
11395 </Dialog>
11496 <!-- _VerifyReady Dialog for Launch application -->
115- <!--Publish Dialog="_ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">WIXUI_VERIFYDIALOGOPTIONALCHECKBOX3 = 1 and NOT Installed</Publish-->
116- <!-- _VerifyReady Dialog for remove registry, but publish on _ExitDlg-->
11797 <Publish Dialog="_ExitDialog" Control="Finish" Event="DoAction" Value="RemoveReg">WIXUI_VERIFYDIALOGOPTIONALCHECKBOX4 = 1 and Installed</Publish>
11898 <!-- _Exit Dialog for Launch application -->
119- <!--Publish Dialog="_ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish-->
12099 </UI>
121100 <!-- Newer Version Found -->
122101 <InstallUISequence>
@@ -124,56 +103,37 @@
124103 <Show Dialog='SelfFoundDlg' After='FindRelatedProducts'>SELFFOUND</Show>
125104 </InstallUISequence>
126105 <InstallExecuteSequence>
127- <Custom Action="QuitApplication" Before="FindRelatedProducts"></Custom>
128- <!--Custom Action='WixExitEarlyWithSuccess' After='NewerFoundDlg'>NEWERFOUND</Custom-->
129- <!--Custom Action='WixExitEarlyWithSuccess' After='SelfFoundDlg'>SELFFOUND</Custom-->
130- <!--Custom Action='WixExitEarlyWithSuccess' After='FindRelatedProducts'>NEWERFOUND</Custom-->
106+ <Custom Action="QuitApplication" Before="AppSearch">Installed</Custom>
131107 <Custom Action='AlreadyUpdated' After='FindRelatedProducts'>SELFFOUND</Custom>
132108 <Custom Action='NoDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom>
133- <!--RemoveExistingProducts After="InstallFinalize" /-->
134- <!--Custom Action="TaskKill" After="FindRelatedProducts">Installed</Custom-->
135- <Custom Action="QuitApplication2" After="InstallInitialize">Installed</Custom>
136- <!--Custom Action='QuitApplication4' After='InstallInitialize'>Installed</Custom-->
137- <Custom Action='UnregisterTaskScheduler' After='InstallInitialize'>Installed</Custom>
138- <Custom Action='UnregisterTaskScheduler2' After='InstallInitialize'>Installed</Custom>
139- <!--Custom Action='UnregisterEventlog' After='InstallInitialize'>Installed</Custom-->
140- <!--Custom Action="QuitApplication" After="InstallInitialize">Installed</Custom-->
141- <!--Custom Action="TaskKill" After="InstallInitialize">Installed</Custom-->
142- <!--Custom Action='TaskKill_force' After='InstallInitialize'>Installed</Custom-->
143-
109+ <Custom Action='WixExitEarlyWithSuccess' After='FindRelatedProducts'>NEWERFOUND or SELFFOUND</Custom>
110+ <RemoveExistingProducts Before="InstallInitialize"/>
111+ <Custom Action='QuitApplication2' After='InstallInitialize'>Installed</Custom>
112+ <Custom Action='UnregisterTaskScheduler' After='QuitApplication2'>Installed</Custom>
113+ <Custom Action='UnregisterTaskScheduler2' After='UnregisterTaskScheduler'>Installed</Custom>
144114 <Custom Action='RegisterTaskScheduler' Before='InstallFinalize'>(NOT Installed) or REINSTALL</Custom>
145115 <Custom Action='RegisterTaskScheduler2' Before='InstallFinalize'>(NOT Installed) or REINSTALL</Custom>
146116 <Custom Action='LaunchApplication' After='InstallFinalize'>(WIXUI_VERIFYDIALOGOPTIONALCHECKBOX3 = 1 and NOT Installed) or (WIXUI_VERIFYDIALOGOPTIONALCHECKBOX3 = 1 and REINSTALL)</Custom>
147- <!--Custom Action='LaunchApplication' Before='InstallFinalize'>NOT Installed</Custom-->
148- <!--Custom Action='RegisterEventlog' Before='InstallFinalize'>NOT Installed</Custom-->
149-
150- <!--Custom Action="QuitApplication3" Before="RemoveExistingProducts">Installed</Custom-->
151117 <Custom Action='RemoveReg' After='RemoveExistingProducts'>WIXUI_VERIFYDIALOGOPTIONALCHECKBOX4 = 1 and Installed</Custom>
152118 </InstallExecuteSequence>
153119
154120 <!-- Version Check -->
155121 <CustomAction Id='AlreadyUpdated' Error='[ProductName] は既に、このバージョンに更新されています。' />
156122 <CustomAction Id='NoDowngrade' Error='[ProductName] の新しいバージョンが既にインストールされています。' />
157- <!-- Kill Own Application -->
123+ <!-- Kill Application -->
158124 <Binary Id="TASKKILL" SourceFile="C:\Windows\System32\taskkill.exe"> </Binary>
159125 <CustomAction Id="TaskKill" BinaryKey="TASKKILL" Execute="deferred" Return="ignore" Impersonate="no"
160126 ExeCommand=" /IM &quot;$(var.MainExeFileName)&quot;" />
161127 <CustomAction Id="TaskKill_force" BinaryKey="TASKKILL" Execute="deferred" Return="asyncWait" Impersonate="no"
162128 ExeCommand=" /F /IM &quot;$(var.MainExeFileName)&quot; /IM &quot;$(var.ProductName)32.exe&quot;" />
163- <!-- Quit Own Application -->
129+ <!-- Quit Application -->
164130 <Binary Id="EVENTCREATE" SourceFile="C:\Windows\System32\eventcreate.exe"> </Binary>
165- <CustomAction Id="QuitApplication" BinaryKey="EVENTCREATE" Execute="firstSequence" Return="ignore" Impersonate="yes"
166- ExeCommand=" /T SUCCESS /ID 7 /L Application /SO FlushMouse /D &quot;Quit FlushMouse(Installer).&quot;" />
167- <CustomAction Id="QuitApplication2" BinaryKey="EVENTCREATE" Execute="firstSequence" Return="ignore" Impersonate="yes"
131+ <CustomAction Id="QuitApplication" BinaryKey="EVENTCREATE" Execute="firstSequence" Return="check" Impersonate="yes"
168132 ExeCommand=" /T SUCCESS /ID 7 /L Application /SO FlushMouse /D &quot;Quit FlushMouse(Installer).&quot;" />
169- <CustomAction Id="QuitApplication3" BinaryKey="EVENTCREATE" Execute="firstSequence" Return="ignore" Impersonate="yes"
133+ <CustomAction Id="QuitApplication2" BinaryKey="EVENTCREATE" Execute="deferred" Return="check" Impersonate="no"
170134 ExeCommand=" /T SUCCESS /ID 7 /L Application /SO FlushMouse /D &quot;Quit FlushMouse(Installer).&quot;" />
171- <!--Binary Id="QUITApplication" SourceFile="C:\Program Files\JeffyTS\FlushMouse\FlushMouse.exe"> </Binary>
172- <CustomAction Id="QuitApplication4" BinaryKey="QUITApplication" Execute="deferred" Return="ignore" Impersonate="no"
173- ExeCommand=" /quit" /-->
174- <!-- Application Launch -->
175- <!--CustomAction Id="LaunchApplication" Directory="INSTALLFOLDER"
176- ExeCommand="[INSTALLFOLDER]$(var.MainExeFileName)" Return="asyncNoWait" /-->
135+
136+ <!-- Launch Application -->
177137 <CustomAction Id="LaunchApplication" BinaryKey="EVENTCREATE" Execute="immediate" Return="ignore" Impersonate="yes"
178138 ExeCommand=" /T SUCCESS /ID 6 /L Application /SO FlushMouse /D &quot;Start FlushMouse(Installer).&quot;" />
179139
@@ -189,16 +149,6 @@
189149 ExeCommand=" /Delete /F /TN &quot;$(var.ProductName)&quot;" />
190150 <CustomAction Id="UnregisterTaskScheduler2" BinaryKey="UNREGISTERTaskScheduler" Execute="deferred" Return="asyncWait" Impersonate="no"
191151 ExeCommand=" /Delete /F /TN &quot;$(var.ProductName)Installer&quot;" />
192- <!-- Register EventLog -->
193- <!--Binary Id="REGISTEREventlog" SourceFile="C:\Windows\System32\reg.exe"> </Binary>
194- <CustomAction Id="RegisterEventlog" BinaryKey="REGISTEREventlog" Execute="deferred" Return="asyncWait" Impersonate="no"
195- ExeCommand=" IMPORT &quot;[INSTALLFOLDER]Register_Eventlog.reg&quot; /reg:64" /-->
196- <!-- Unegister EventLog -->
197- <!--Binary Id="UNREGISTEREventlog" SourceFile="C:\Windows\System32\reg.exe"> </Binary-->
198- <!--CustomAction Id="UnregisterEventlog" BinaryKey="UNREGISTEREventlog" Execute="deferred" Return="asyncWait" Impersonate="no"
199- ExeCommand=" DELETE HKLM\System\CurrentControlSet\Services\Eventlog\Application\&quot;$(var.ProductName)&quot; /f /va" /-->
200- <!--CustomAction Id="UnregisterEventlog" BinaryKey="UNREGISTEREventlog" Execute="deferred" Return="asyncWait" Impersonate="no"
201- ExeCommand=" DELETE HKLM\System\CurrentControlSet\Services\Eventlog\Application\FlushMouse /f" /-->
202152 <!-- Remove Registry in Uninstall -->
203153 <Binary Id="REMOVEREG" SourceFile="C:\Windows\System32\reg.exe"> </Binary>
204154 <CustomAction Id="RemoveReg" BinaryKey="REMOVEREG" Execute="immediate" Return="asyncNoWait" Impersonate="yes"
@@ -237,7 +187,6 @@
237187 <!-- Feature -->
238188 <Feature Id="EssentialFeature" Level="1">
239189 <ComponentGroupRef Id="ProductComponents" />
240- <!--ComponentRef Id="AutoStartRegistry" /-->
241190 <ComponentRef Id="EventLogRegistry" />
242191 <ComponentRef Id="Registries" />
243192 <ComponentRef Id="Shortcuts" />
@@ -279,19 +228,6 @@
279228 <Component Id="Register_Eventlog.reg" Guid="{FBC3FF68-EF97-43F1-BE86-5F5CFC3AE4F1}">
280229 <File Id="Register_Eventlog.reg" Name="Register_Eventlog.reg" Source="$(var.TargetDir04)Register_Eventlog.reg" />
281230 </Component>
282- <!--Component Id="Register_FlushMouse.bat" Guid="{58D84ACB-D9C0-4E40-A485-3300E83F2660}">
283- <File Id="Register_FlushMouse.bat" Name="Register_FlushMouse.bat" Source="$(var.TargetDir04)Register_FlushMouse.bat" />
284- </Component>
285- <Component Id="Unregister_FlushMouse.bat" Guid="{C7B41729-230F-46C8-8E6F-724B98CD5B69}">
286- <File Id="Unregister_FlushMouse.bat" Name="Unregister_FlushMouse.bat" Source="$(var.TargetDir04)Unregister_FlushMouse.bat" />
287- </Component-->
288- <!-- Registries -->
289- <!-- Auto start by user registry -->
290- <!--Component Id="AutoStartRegistry" Guid="{AE2203C7-DFFF-40AA-873F-39C206583E9C}"-->
291- <!--RegistryKey Root="HKCU" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Run" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="no"-->
292- <!--RegistryValue Type="string" Name="$(var.ProductName)" Value="[INSTALLFOLDER]$(var.MainExeFileName)" KeyPath="yes" /-->
293- <!--/RegistryKey-->
294- <!--/Component-->
295231 <!-- EventLog registry -->
296232 <Component Id="EventLogRegistry" Guid="{B5A28410-C07F-43BD-BA17-D15F0331986B}">
297233 <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\$(var.ProductName)" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
--- a/version.h
+++ b/version.h
@@ -9,13 +9,13 @@
99
1010 #define MAJOR_VERSION 1
1111 #define MINOR_VERSION 1
12-#define BUILD_VERSION 3
13-#define REVISON_VERSION 7
12+#define BUILD_VERSION 4
13+#define REVISION_VERSION 8
1414
15-#define FILE_VERSION_STRING VALUE "FileVersion", "1.1.3.7"
16-#define PRODUCT_VERSION_STRING VALUE "ProductVersion", "1.1.3.7"
15+#define FILE_VERSION_STRING VALUE "FileVersion", "1.1.4.8"
16+#define PRODUCT_VERSION_STRING VALUE "ProductVersion", "1.1.4.8"
1717
18-#define FILE_VERSION MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION, REVISON_VERSION
19-#define PRODUCT_VERSION MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION, REVISON_VERSION
18+#define FILE_VERSION MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION, REVISION_VERSION
19+#define PRODUCT_VERSION MAJOR_VERSION, MINOR_VERSION, BUILD_VERSION, REVISION_VERSION
2020
2121 /* = EOF = */
\ No newline at end of file
--- a/version.wxi
+++ b/version.wxi
@@ -1,6 +1,6 @@
11 <Include>
22 <!-- for wix Setup Project -->
33 <!-- Copyright (C) 2023 JeffyTS -->
4- <?define Version = "1.1.3.7" ?>
4+ <?define Version = "1.1.4.8" ?>
55 </Include>
66