Update Bootstrapper.cpp

This commit is contained in:
alk 2023-05-01 15:28:55 +03:00 committed by GitHub
parent be70700349
commit 91ad04b86c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
#include <Windows.h>
#include <iostream>
#include <array>
#include <ghc/filesystem.hpp>
void showError(std::string const& error) {
@ -17,7 +18,7 @@ int loadGeode(PVOID module) {
}
DWORD WINAPI load(PVOID module) {
std::array<TCHAR, MAX_PATH> szFileName;
std::array<TCHAR, MAX_PATH> szFileName;
GetModuleFileName(NULL, szFileName.data(), MAX_PATH);
ghc::filesystem::path path(szFileName.data());