UPX, icons, 100% error free!

This commit is contained in:
thepwrtank18 committed 2023-07-08 00:13:22 -05:00
1 parent 25c1ecc9b5
commit fbcb21752a
8 files changed
+139 -13

No files matched your search

+3 -13
View File
@@ -1,19 +1,9 @@
#define STRICT
#define UNICODE
#define _UNICODE
#include <windows.h>
#include <commctrl.h>
#include <stdint.h>
#include <intrin.h>
#include <algorithm>
#include <atlconv.h>
#include <iostream>
#include <comutil.h>
#include <cstdlib>
#include <regex>
#include <atlstr.h>
#include <ole2.h>
#include <TlHelp32.h>
#pragma comment(lib, "comsuppw.lib")
@@ -203,7 +193,7 @@ bool IsProcessRunning(const wchar_t* processName)
return false;
}
PROCESSENTRY32W processEntry;
PROCESSENTRY32W processEntry{};
processEntry.dwSize = sizeof(PROCESSENTRY32W);
if (!Process32FirstW(snapshot, &processEntry))
{
@@ -234,7 +224,7 @@ bool TerminateProcessByName(const wchar_t* processName)
return false;
}
PROCESSENTRY32W processEntry;
PROCESSENTRY32W processEntry{};
processEntry.dwSize = sizeof(PROCESSENTRY32W);
if (!Process32FirstW(snapshot, &processEntry))
{