| 6 | #include "../../UnrealEngineModLoader/INI/INI.h" |
| 7 | |
| 8 | std::string GetModuleFilePath(HMODULE hModule) |
| 9 | { |
| 10 | std::string ModuleName = ""; |
| 11 | char szFileName[MAX_PATH] = { 0 }; |
| 12 | |
| 13 | if (GetModuleFileNameA(hModule, szFileName, MAX_PATH)) |
| 14 | ModuleName = szFileName; |
| 15 | |
| 16 | return ModuleName; |
| 17 | } |
| 18 | |
| 19 | void InjectDLL(std::string path) |
| 20 | { |