Skip to content

Commit

Permalink
support version 6.5.20.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfei.mzf committed Jul 21, 2022
1 parent 020dbe8 commit cb1f3f8
Show file tree
Hide file tree
Showing 7 changed files with 211 additions and 33 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ src/AntiRecall.suo
src/AntiRecall/AntiRecall.aps
src/AntiRecall/AntiRecall.vcproj.D-M70B79BG-0811.Mzf.user
src/AntiRecall/Release/

src/.vs/*
src/release/
src/AntiRecall/AntiRecall.vcxproj.filters
src/AntiRecall/AntiRecall.vcxproj.user
11 changes: 8 additions & 3 deletions src/AntiRecall.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AntiRecall", "AntiRecall\AntiRecall.vcproj", "{C0400773-C634-4147-BF99-1B680E7D66FE}"
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.2017
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AntiRecall", "AntiRecall\AntiRecall.vcxproj", "{C0400773-C634-4147-BF99-1B680E7D66FE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -17,4 +19,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D18ECAD7-77BA-48E9-A261-AFADB9225951}
EndGlobalSection
EndGlobal
65 changes: 40 additions & 25 deletions src/AntiRecall/AntiRecall.rc
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// ����(�л����񹲺͹�) resources
// ����(���壬�й�) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
Expand All @@ -32,30 +30,32 @@ CAPTION "
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
LTEXT "�������� Version 0.2",IDC_STATIC,40,10,119,8,SS_NOPREFIX
LTEXT "Copyright (C) [email protected] 2021",IDC_STATIC,40,25,188,8
LTEXT "�������� Version 0.3",IDC_STATIC,40,10,119,8,SS_NOPREFIX
LTEXT "Copyright (C) [email protected] 2021-2022",IDC_STATIC,40,25,188,8
DEFPUSHBUTTON "OK",IDOK,178,7,50,16,WS_GROUP
END

IDD_ANTIRECALL_DIALOG DIALOGEX 0, 0, 309, 83
IDD_ANTIRECALL_DIALOG DIALOGEX 0, 0, 335, 108
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "�������֣���Ϣ�����أ� V0.2"
CAPTION "������� V0.3.20220721"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "���Ҵ򲹶�",IDOK,199,61,50,15
PUSHBUTTON "��������",ID_BTN_REVERT,252,60,50,16
DEFPUSHBUTTON "���Ҵ򲹶�",IDOK,218,86,50,15
PUSHBUTTON "��������",ID_BTN_REVERT,278,85,50,16
LTEXT "ѡ��Ӧ�ã�",IDC_STATIC_CHOSE_APP,7,6,41,8
CONTROL "����",IDC_RADIO_DINGTALK,"Button",BS_AUTORADIOBUTTON,48,6,32,10
LTEXT "Ӧ��·����",IDC_STATIC_APP_PATH,7,24,41,8
EDITTEXT IDC_EDIT_APP_PATH,48,21,225,14,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_BTN_BROWSE_APP,275,21,27,14
LTEXT "��ǰ�汾��",IDC_STATIC_CURRT_VERSION,7,41,41,8
LTEXT "N/A",IDC_STATIC_VERSION_NUM,48,42,66,8
LTEXT "����״̬��",IDC_STATIC_CURRT_VERSION2,127,41,41,8
LTEXT "N/A",IDC_STATIC_PATCH_STATUS,168,41,134,8
LTEXT "������ҳ��",IDC_STATIC_CURRT_VERSION3,7,58,41,8
LTEXT "GitHub/DingTalk_Assistant",IDC_STATIC_GITHUB,48,58,87,8
LTEXT "Ӧ��·����",IDC_STATIC_APP_PATH,7,26,41,8
EDITTEXT IDC_EDIT_APP_PATH,48,23,244,14,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_BTN_BROWSE_APP,301,23,27,14
LTEXT "��ǰ�汾��",IDC_STATIC_CURRT_VERSION,7,47,41,8
LTEXT "N/A",IDC_STATIC_VERSION_NUM,48,48,66,8
LTEXT "����״̬��",IDC_STATIC_CURRT_VERSION2,174,47,41,8
LTEXT "N/A",IDC_STATIC_PATCH_STATUS,216,47,108,8
LTEXT "������ҳ��",IDC_STATIC_CURRT_VERSION3,7,65,41,8
LTEXT "GitHub/DingTalk_Assistant",IDC_STATIC_GITHUB,48,65,87,8
LTEXT "QQ��",IDC_STATIC_CURRT_VERSION4,175,64,20,8
LTEXT "2059233565",IDC_STATIC_QQ,215,64,41,8
END


Expand Down Expand Up @@ -104,7 +104,7 @@ END
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
Expand All @@ -117,36 +117,50 @@ BEGIN
IDD_ANTIRECALL_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 302
RIGHTMARGIN, 328
TOPMARGIN, 6
BOTTOMMARGIN, 76
BOTTOMMARGIN, 101
END
END
#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//

IDD_ANTIRECALL_DIALOG AFX_DIALOG_LAYOUT
BEGIN
0
END

IDD_ABOUTBOX AFX_DIALOG_LAYOUT
BEGIN
0
END


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE
STRINGTABLE
BEGIN
IDS_ABOUTBOX "&����..."
END

#endif // ����(�л����񹲺͹�) resources
#endif // ����(���壬�й�) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// Ӣ��(����) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -192,6 +206,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\AntiRecall.ico"

#endif // Ӣ��(����) resources
/////////////////////////////////////////////////////////////////////////////

Expand Down
147 changes: 147 additions & 0 deletions src/AntiRecall/AntiRecall.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C0400773-C634-4147-BF99-1B680E7D66FE}</ProjectGuid>
<RootNamespace>AntiRecall</RootNamespace>
<Keyword>MFCProj</Keyword>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
<UseOfMfc>Static</UseOfMfc>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>15.0.28307.799</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>true</LinkIncremental>
<TargetName>DTAssist</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<ValidateAllParameters>false</ValidateAllParameters>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<OutputFile>$(OutDir)DTAssist.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<ValidateAllParameters>false</ValidateAllParameters>
</Midl>
<ClCompile>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<OutputFile>$(OutDir)DTAssist.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="AntiRecall.cpp" />
<ClCompile Include="AntiRecallDlg.cpp" />
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="AntiRecall.h" />
<ClInclude Include="AntiRecallDlg.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<Image Include="res\AntiRecall.ico" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="AntiRecall.rc" />
</ItemGroup>
<ItemGroup>
<None Include="res\AntiRecall.rc2" />
</ItemGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
<ProjectExtensions>
<VisualStudio>
<UserProperties RESOURCE_FILE="AntiRecall.rc" />
</VisualStudio>
</ProjectExtensions>
</Project>
Binary file modified src/AntiRecall/AntiRecallDlg.cpp
Binary file not shown.
8 changes: 6 additions & 2 deletions src/AntiRecall/AntiRecallDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ class CAntiRecallDlg : public CDialog
CString mCurrentVersion;

CString mMainFramePath;
CString mNewMainFramePath;
CString mPatchStatus;
afx_msg void OnBnClickedBtnBrowseApp();
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedBtnRevert();
afx_msg void OnStnClickedStaticGithub();

private:
CRect m_Rect;
CRect m_GithubRect;
CRect m_QQRect;
CFont* m_cfNtr;
CFont m_cfUL;
LOGFONT m_lfNtr, m_lfUL;
Expand All @@ -77,4 +77,8 @@ class CAntiRecallDlg : public CDialog
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnStnClickedStaticQq();

private:
void CopyQQToClipboard();
};
9 changes: 6 additions & 3 deletions src/AntiRecall/resource.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by AntiRecall.rc
// Microsoft Visual C++ 生成的包含文件。
// AntiRecall.rc 使用
//
#define IDM_ABOUTBOX 0x0010
#define IDD_ABOUTBOX 100
Expand All @@ -20,12 +20,15 @@
#define IDC_STATIC_VERSION_NUM2 1010
#define IDC_STATIC_GITHUB 1010
#define ID_BTN_REVERT 1011
#define IDC_STATIC_CURRT_VERSION4 1012
#define IDC_STATIC_CURRT_VERSION5 1013
#define IDC_STATIC_QQ 1013

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_RESOURCE_VALUE 131
#define _APS_NEXT_COMMAND_VALUE 32771
#define _APS_NEXT_CONTROL_VALUE 1012
#define _APS_NEXT_SYMED_VALUE 101
Expand Down

0 comments on commit cb1f3f8

Please sign in to comment.