//2018-07-06 mingw64
wchar_t currentPath2[512];
GetModuleFileName(hand, currentPath2, _MAX_PATH);
- int ret = wcstombs ( currentPath, currentPath2, sizeof(pname) );
+ int ret = wcstombs ( currentPath, currentPath2, sizeof(currentPath) );
// GetModuleFileName(hand, currentPath, _MAX_PATH);
path = currentPath;
//2018-07-06 mingw64
wchar_t currentPath2[512];
GetModuleFileName(hand, currentPath2, _MAX_PATH);
- int ret = wcstombs ( currentPath, currentPath2, sizeof(pname) );
+ int ret = wcstombs ( currentPath, currentPath2, sizeof(currentPath) );
// GetModuleFileName(hand, currentPath, _MAX_PATH);
path = currentPath;