diff --git a/src/Prospect.Agent/main.cpp b/src/Prospect.Agent/main.cpp index aa2db4d..1351fd4 100644 --- a/src/Prospect.Agent/main.cpp +++ b/src/Prospect.Agent/main.cpp @@ -38,7 +38,10 @@ DWORD WINAPI OnDllAttach(LPVOID base) const auto hModulePtr = reinterpret_cast(hModule); // Initialize GMalloc. - SDK::GMalloc = *reinterpret_cast(hModulePtr + OffsetGMalloc); + do + { + SDK::GMalloc = *reinterpret_cast(hModulePtr + OffsetGMalloc); + } while (SDK::GMalloc == nullptr); // Initialize MinHook. if (MH_Initialize() != MH_OK) diff --git a/src/Prospect.Launcher/Libs/Prospect.Agent.dll b/src/Prospect.Launcher/Libs/Prospect.Agent.dll index 49738f1..d0bec1f 100644 Binary files a/src/Prospect.Launcher/Libs/Prospect.Agent.dll and b/src/Prospect.Launcher/Libs/Prospect.Agent.dll differ diff --git a/src/Prospect.Server.Api/Properties/launchSettings.json b/src/Prospect.Server.Api/Properties/launchSettings.json index be656e1..e4c9f57 100644 --- a/src/Prospect.Server.Api/Properties/launchSettings.json +++ b/src/Prospect.Server.Api/Properties/launchSettings.json @@ -3,8 +3,8 @@ "Prospect.Server.Api": { "commandName": "Project", "dotnetRunMessages": "true", - "launchBrowser": true, - "applicationUrl": "https://A22AB.localhost:5555", + "launchBrowser": false, + "applicationUrl": "http://localhost:8888", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }