File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 2828#define HostExe " /altv-server"
2929#endif
3030
31- // Standard headers
32- #include < stdio.h>
33- #include < stdint.h>
34- #include < stdlib.h>
35- #include < string.h>
36- #include < assert.h>
37- #include < iostream>
38-
3931#ifdef _WIN32
4032#include < Windows.h>
4133
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ void CoreClr::CreateManagedHost(alt::IServer* server) {
400400 auto hostExePath = alt::String (wd) + HostExe;
401401 auto load_assembly_and_get_function_pointer = get_dotnet_load_assembly (hostCfgPathCStr);
402402 if (load_assembly_and_get_function_pointer == nullptr ) {
403- server->LogInfo (alt::String (" coreclr-module: config:" ) + hostCfgPathCStr );
403+ server->LogInfo (alt::String (" coreclr-module: config:" ) + hostCfgPath. CStr () );
404404 server->LogInfo (alt::String (" coreclr-module: host exe:" ) + hostExePath.CStr ());
405405 return ;
406406 }
@@ -414,7 +414,7 @@ void CoreClr::CreateManagedHost(alt::IServer* server) {
414414 (void **) &ExecuteResourceDelegate);
415415
416416 if (ExecuteResourceDelegate == nullptr || rc != 0 ) {
417- server->LogInfo (alt::String (" coreclr-module: host path:" ) + hostDllPathCStr );
417+ server->LogInfo (alt::String (" coreclr-module: host path:" ) + hostDllPath. CStr () );
418418 PrintError (server, rc);
419419 return ;
420420 }
You can’t perform that action at this time.
0 commit comments