diff --git a/DSE-Patcher/16.ico b/DSE-Patcher/16.ico deleted file mode 100644 index fcd3827..0000000 Binary files a/DSE-Patcher/16.ico and /dev/null differ diff --git a/DSE-Patcher/32.ico b/DSE-Patcher/32.ico deleted file mode 100644 index ba0201d..0000000 Binary files a/DSE-Patcher/32.ico and /dev/null differ diff --git a/DSE-Patcher/DSE-Patcher.rc b/DSE-Patcher/DSE-Patcher.rc index a4cdb3d..80fcb27 100644 Binary files a/DSE-Patcher/DSE-Patcher.rc and b/DSE-Patcher/DSE-Patcher.rc differ diff --git a/DSE-Patcher/DSE-Patcher.vcxproj b/DSE-Patcher/DSE-Patcher.vcxproj index 3d667c4..e66d08a 100644 --- a/DSE-Patcher/DSE-Patcher.vcxproj +++ b/DSE-Patcher/DSE-Patcher.vcxproj @@ -86,7 +86,8 @@ Level3 Disabled - WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + WIN32;_NO_CRT_STDIO_INLINE;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + MultiThreadedDebug Windows @@ -99,7 +100,8 @@ Level4 Disabled - WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + WIN32;_NO_CRT_STDIO_INLINE;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + MultiThreadedDebug Windows @@ -115,9 +117,10 @@ MinSpace true false - WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + WIN32;_NO_CRT_STDIO_INLINE;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) Size false + MultiThreaded Windows @@ -136,9 +139,10 @@ MinSpace true false - WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + WIN32;_NO_CRT_STDIO_INLINE;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) Size false + MultiThreaded Windows @@ -150,7 +154,8 @@ RequireAdministrator - $(SolutionDir)$(SolutionName)\upx.exe -9 --ultra-brute $(OutDir)$(TargetName)$(TargetExt) + + @@ -173,10 +178,6 @@ - - - - diff --git a/DSE-Patcher/DSE-Patcher.vcxproj.filters b/DSE-Patcher/DSE-Patcher.vcxproj.filters index 75552ff..ca9871c 100644 --- a/DSE-Patcher/DSE-Patcher.vcxproj.filters +++ b/DSE-Patcher/DSE-Patcher.vcxproj.filters @@ -62,14 +62,6 @@ Resource Files - - - Resource Files - - - Resource Files - - Resource Files diff --git a/DSE-Patcher/MyDialog1.cpp b/DSE-Patcher/MyDialog1.cpp index ae0b25e..6d02a01 100644 --- a/DSE-Patcher/MyDialog1.cpp +++ b/DSE-Patcher/MyDialog1.cpp @@ -95,7 +95,7 @@ int MyDlg1TooltipSetMultilineText(LPARAM lParam) else if((HWND)pInfo->hdr.idFrom == g.Dlg1.hButton3) { pInfo->lpszText = "Restore \"Driver Signature Enforcement\":\nSets the variable to \"DSE Original Value\".\n\n" - "Attention:\nThe \"DSE Original Value\" is retrieved\nonly one time on startup of "APPNAME"!"; + "Attention:\nThe \"DSE Original Value\" is retrieved\nonly one time on startup of !"; } else if((HWND)pInfo->hdr.idFrom == g.Dlg1.hCombo1) { @@ -134,7 +134,7 @@ int MyDlg1OnInitDialog(HWND hwnd) SendMessage(hwnd,WM_SETICON,ICON_SMALL,(LPARAM)hIcon2); // set dialog title - SendMessage(hwnd,WM_SETTEXT,0,(LPARAM)APPNAME" "VERSION" "BUILD); + SendMessage(hwnd,WM_SETTEXT,0,(LPARAM)APPNAME); // create status bar with two parts RECT rect; diff --git a/DSE-Patcher/MyFunctions.h b/DSE-Patcher/MyFunctions.h index c5fb264..955a2ae 100644 --- a/DSE-Patcher/MyFunctions.h +++ b/DSE-Patcher/MyFunctions.h @@ -17,8 +17,7 @@ // You should have received a copy of the GNU General Public License // along with DSE-Patcher. If not, see . -#ifndef _MYFUNCTIONS -#define _MYFUNCTIONS +#pragma once // Attention: The library file msvcrt.lib is copied from "C:\WinDDK\7600.16385.1\lib\Crt\amd64". // This import library reduces the executable size and we have not to install any Microsoft @@ -198,5 +197,5 @@ typedef struct _GLOBALS int MyInitVulnerableDrivers(VULNERABLE_DRIVER *vd,DWORD dwElements); DWORD WINAPI MyThreadProc1(PVOID pvoid); -#endif // _MYFUNCTIONS +