other Framework fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
monroegm-disable-blank-issue-2
Esteban Papp 5 years ago
parent 3f6335dc32
commit 1b4c06d03d

@ -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);

Loading…
Cancel
Save