other Framework fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <AzTest/Platform.h>
|
||||
#include <AzCore/std/string/conversions.h>
|
||||
|
||||
//-------------------------------------------------------------------------------------------------
|
||||
class ModuleHandle
|
||||
@@ -151,7 +152,7 @@ namespace AZ
|
||||
va_start(mark, format);
|
||||
azvsnprintf(message, MAX_PRINT_MSG, format, mark);
|
||||
va_end(mark);
|
||||
OutputDebugString(message);
|
||||
AZ::Debug::Platform::OutputToDebugger(nullptr, message);
|
||||
}
|
||||
|
||||
AZ::EnvironmentInstance Platform::GetTestRunnerEnvironment()
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace GridMate
|
||||
|
||||
char procPath[256];
|
||||
char procName[256];
|
||||
DWORD ret = GetModuleFileName(NULL, procPath, 256);
|
||||
DWORD ret = GetModuleFileNameA(NULL, procPath, 256);
|
||||
if (ret > 0)
|
||||
{
|
||||
::_splitpath_s(procPath, 0, 0, 0, 0, procName, 256, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user