other Framework fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-07-30 17:38:46 -07:00
parent 3f6335dc32
commit 1b4c06d03d
2 changed files with 3 additions and 2 deletions
@@ -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);