Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Commit 59169c5

Browse files
committed
可能修复时常出现的BEX错误
更新翻译
1 parent c7d9b08 commit 59169c5

File tree

76 files changed

+1418
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1418
-1048
lines changed

ConsoleApplication/ConsoleApplication.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ int main(int argc, char *argv[])
7272
DWORD Err = 0;
7373
if (!A.empty()) {
7474
SetConsoleTextAttribute(hHandle, 0xE);
75-
printf(" 未找到以下字符配置 输出格式 [字符:频度]\n");
75+
printf("以下字符未配置 ");
7676
SetConsoleTextAttribute(hHandle, 0x7);
77+
printf("输出格式 [字符:频度]\n");
7778
for (unsigned int i = 0;i < A.size();i++) {
7879
printf("%s:%d ", A[i].str, WCharAdd.Wstr[A[i].ID[0]].Size);
7980
}
@@ -82,14 +83,15 @@ int main(int argc, char *argv[])
8283
char MsgBuf[256];
8384
FormatMessageA( FORMAT_MESSAGE_FROM_SYSTEM , NULL, Err, 0,MsgBuf,256, NULL);
8485
SetConsoleTextAttribute(hHandle, 0xC);
85-
printf(" 错误:%d 描述:%s\n", Err, MsgBuf);
86+
printf("错误:%d", Err);
8687
SetConsoleTextAttribute(hHandle, 0x7);
88+
printf(" 描述:%s\n", MsgBuf);
8789

8890
}
8991

9092
else {
9193
SetConsoleTextAttribute(hHandle, 0xA);
92-
printf("\n 此过程中没有任何错误");
94+
printf("\n完成");
9395
SetConsoleTextAttribute(hHandle, 0x7);
9496
};
9597

@@ -136,5 +138,4 @@ void TEST(char* In, char*Out) {
136138
}
137139
fclose(fp);
138140
fclose(fp2);
139-
140-
}
141+
}

ConsoleApplication/ConsoleApplication.vcxproj

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
<Configuration>Debug</Configuration>
66
<Platform>Win32</Platform>
77
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Release WinXP|Win32">
9+
<Configuration>Release WinXP</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release WinXP|x64">
13+
<Configuration>Release WinXP</Configuration>
14+
<Platform>x64</Platform>
15+
</ProjectConfiguration>
816
<ProjectConfiguration Include="Release|Win32">
917
<Configuration>Release</Configuration>
1018
<Platform>Win32</Platform>
@@ -17,14 +25,6 @@
1725
<Configuration>Release</Configuration>
1826
<Platform>x64</Platform>
1927
</ProjectConfiguration>
20-
<ProjectConfiguration Include="Win7Release|Win32">
21-
<Configuration>Win7Release</Configuration>
22-
<Platform>Win32</Platform>
23-
</ProjectConfiguration>
24-
<ProjectConfiguration Include="Win7Release|x64">
25-
<Configuration>Win7Release</Configuration>
26-
<Platform>x64</Platform>
27-
</ProjectConfiguration>
2828
</ItemGroup>
2929
<PropertyGroup Label="Globals">
3030
<ProjectGuid>{838AD147-56A9-4F1D-98B9-52D9B9844A2D}</ProjectGuid>
@@ -46,7 +46,7 @@
4646
<WholeProgramOptimization>true</WholeProgramOptimization>
4747
<CharacterSet>Unicode</CharacterSet>
4848
</PropertyGroup>
49-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'" Label="Configuration">
49+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'" Label="Configuration">
5050
<ConfigurationType>Application</ConfigurationType>
5151
<UseDebugLibraries>false</UseDebugLibraries>
5252
<PlatformToolset>v140</PlatformToolset>
@@ -66,7 +66,7 @@
6666
<WholeProgramOptimization>true</WholeProgramOptimization>
6767
<CharacterSet>Unicode</CharacterSet>
6868
</PropertyGroup>
69-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'" Label="Configuration">
69+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'" Label="Configuration">
7070
<ConfigurationType>Application</ConfigurationType>
7171
<UseDebugLibraries>false</UseDebugLibraries>
7272
<PlatformToolset>v140</PlatformToolset>
@@ -84,7 +84,7 @@
8484
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
8585
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
8686
</ImportGroup>
87-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'" Label="PropertySheets">
87+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'" Label="PropertySheets">
8888
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
8989
</ImportGroup>
9090
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@@ -93,7 +93,7 @@
9393
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
9494
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9595
</ImportGroup>
96-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'" Label="PropertySheets">
96+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'" Label="PropertySheets">
9797
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9898
</ImportGroup>
9999
<PropertyGroup Label="UserMacros" />
@@ -106,13 +106,13 @@
106106
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
107107
<LinkIncremental>false</LinkIncremental>
108108
</PropertyGroup>
109-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'">
109+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'">
110110
<LinkIncremental>false</LinkIncremental>
111111
</PropertyGroup>
112112
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
113113
<LinkIncremental>false</LinkIncremental>
114114
</PropertyGroup>
115-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'">
115+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'">
116116
<LinkIncremental>false</LinkIncremental>
117117
</PropertyGroup>
118118
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
@@ -158,9 +158,9 @@
158158
<GenerateDebugInformation>true</GenerateDebugInformation>
159159
</Link>
160160
</ItemDefinitionGroup>
161-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'">
161+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'">
162162
<ClCompile>
163-
<WarningLevel>Level3</WarningLevel>
163+
<WarningLevel>Level4</WarningLevel>
164164
<PrecompiledHeader>Use</PrecompiledHeader>
165165
<Optimization>MaxSpeed</Optimization>
166166
<FunctionLevelLinking>true</FunctionLevelLinking>
@@ -192,7 +192,7 @@
192192
<GenerateDebugInformation>true</GenerateDebugInformation>
193193
</Link>
194194
</ItemDefinitionGroup>
195-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'">
195+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'">
196196
<ClCompile>
197197
<WarningLevel>Level3</WarningLevel>
198198
<PrecompiledHeader>Use</PrecompiledHeader>
@@ -224,9 +224,9 @@
224224
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
225225
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
226226
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
227-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'">Create</PrecompiledHeader>
227+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'">Create</PrecompiledHeader>
228228
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
229-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'">Create</PrecompiledHeader>
229+
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'">Create</PrecompiledHeader>
230230
</ClCompile>
231231
</ItemGroup>
232232
<ItemGroup>

ConsoleApplication/Resource.rc

0 Bytes
Binary file not shown.

ConsoleApplication/gui.txt

1.41 KB
Binary file not shown.

LibPNG/LibPNG.2013.vcxproj

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
<Configuration>Debug</Configuration>
1010
<Platform>x64</Platform>
1111
</ProjectConfiguration>
12-
<ProjectConfiguration Include="Release|Win32">
13-
<Configuration>Release</Configuration>
12+
<ProjectConfiguration Include="Release WinXP|Win32">
13+
<Configuration>Release WinXP</Configuration>
1414
<Platform>Win32</Platform>
1515
</ProjectConfiguration>
16-
<ProjectConfiguration Include="Release|x64">
17-
<Configuration>Release</Configuration>
16+
<ProjectConfiguration Include="Release WinXP|x64">
17+
<Configuration>Release WinXP</Configuration>
1818
<Platform>x64</Platform>
1919
</ProjectConfiguration>
20-
<ProjectConfiguration Include="Win7Release|Win32">
21-
<Configuration>Win7Release</Configuration>
20+
<ProjectConfiguration Include="Release|Win32">
21+
<Configuration>Release</Configuration>
2222
<Platform>Win32</Platform>
2323
</ProjectConfiguration>
24-
<ProjectConfiguration Include="Win7Release|x64">
25-
<Configuration>Win7Release</Configuration>
24+
<ProjectConfiguration Include="Release|x64">
25+
<Configuration>Release</Configuration>
2626
<Platform>x64</Platform>
2727
</ProjectConfiguration>
2828
</ItemGroup>
@@ -46,11 +46,12 @@
4646
<CharacterSet>MultiByte</CharacterSet>
4747
<WholeProgramOptimization>true</WholeProgramOptimization>
4848
</PropertyGroup>
49-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'" Label="Configuration">
49+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'" Label="Configuration">
5050
<ConfigurationType>StaticLibrary</ConfigurationType>
5151
<PlatformToolset>v140</PlatformToolset>
5252
<UseOfMfc>false</UseOfMfc>
5353
<CharacterSet>MultiByte</CharacterSet>
54+
<WholeProgramOptimization>true</WholeProgramOptimization>
5455
</PropertyGroup>
5556
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
5657
<ConfigurationType>StaticLibrary</ConfigurationType>
@@ -64,7 +65,7 @@
6465
<UseOfMfc>false</UseOfMfc>
6566
<CharacterSet>MultiByte</CharacterSet>
6667
</PropertyGroup>
67-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'" Label="Configuration">
68+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'" Label="Configuration">
6869
<ConfigurationType>StaticLibrary</ConfigurationType>
6970
<PlatformToolset>v140</PlatformToolset>
7071
<UseOfMfc>false</UseOfMfc>
@@ -81,7 +82,7 @@
8182
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
8283
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
8384
</ImportGroup>
84-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'" Label="PropertySheets">
85+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'" Label="PropertySheets">
8586
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
8687
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
8788
</ImportGroup>
@@ -93,7 +94,7 @@
9394
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9495
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
9596
</ImportGroup>
96-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'" Label="PropertySheets">
97+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'" Label="PropertySheets">
9798
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
9899
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC71.props" />
99100
</ImportGroup>
@@ -106,7 +107,7 @@
106107
<IntDir>.\$(Platform)\$(Configuration)\</IntDir>
107108
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);../ZLib;</IncludePath>
108109
</PropertyGroup>
109-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'">
110+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'">
110111
<OutDir>.\$(Platform)\$(Configuration)\</OutDir>
111112
<IntDir>.\$(Platform)\$(Configuration)\</IntDir>
112113
<IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);../ZLib;</IncludePath>
@@ -115,7 +116,7 @@
115116
<OutDir>.\$(Platform)\$(Configuration)\</OutDir>
116117
<IntDir>.\$(Platform)\$(Configuration)\</IntDir>
117118
</PropertyGroup>
118-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'">
119+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'">
119120
<OutDir>.\$(Platform)\$(Configuration)\</OutDir>
120121
<IntDir>.\$(Platform)\$(Configuration)\</IntDir>
121122
</PropertyGroup>
@@ -146,6 +147,7 @@
146147
<CompileAs>Default</CompileAs>
147148
<UseUnicodeForAssemblerListing>false</UseUnicodeForAssemblerListing>
148149
<DebugInformationFormat>None</DebugInformationFormat>
150+
<WholeProgramOptimization>false</WholeProgramOptimization>
149151
</ClCompile>
150152
<ResourceCompile>
151153
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -156,7 +158,7 @@
156158
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
157159
</Lib>
158160
</ItemDefinitionGroup>
159-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|Win32'">
161+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|Win32'">
160162
<ClCompile>
161163
<Optimization>Full</Optimization>
162164
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -167,13 +169,14 @@
167169
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
168170
<StringPooling>true</StringPooling>
169171
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
170-
<BufferSecurityCheck>false</BufferSecurityCheck>
172+
<BufferSecurityCheck>true</BufferSecurityCheck>
171173
<PrecompiledHeader>NotUsing</PrecompiledHeader>
172174
<WarningLevel>Level3</WarningLevel>
173175
<SuppressStartupBanner>true</SuppressStartupBanner>
174176
<CompileAs>Default</CompileAs>
175177
<UseUnicodeForAssemblerListing>false</UseUnicodeForAssemblerListing>
176178
<DebugInformationFormat>None</DebugInformationFormat>
179+
<WholeProgramOptimization>false</WholeProgramOptimization>
177180
</ClCompile>
178181
<ResourceCompile>
179182
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -215,7 +218,7 @@
215218
<LinkTimeCodeGeneration>true</LinkTimeCodeGeneration>
216219
</Lib>
217220
</ItemDefinitionGroup>
218-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win7Release|x64'">
221+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release WinXP|x64'">
219222
<Midl>
220223
<TargetEnvironment>X64</TargetEnvironment>
221224
</Midl>
357 KB
Binary file not shown.
12.9 KB
Binary file not shown.
334 KB
Binary file not shown.
4.89 KB
Binary file not shown.
5.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)