|
@@ -188,10 +188,10 @@ namespace GLOBAL
|
|
|
if (szPath != NULL && szIniName != NULL)
|
|
|
StringCchPrintf(szIniPath, MAX_PATH, _T("%s%s"), szPath, szIniName);
|
|
|
else
|
|
|
-#if !defined _DEBUG && !defined RTEST
|
|
|
- StringCchPrintf(szIniPath, MAX_PATH, _T("%sSATService.ini"), g_szCurModuleDir);
|
|
|
-#else
|
|
|
+#if defined _DEBUG || defined RTEST || defined _DBG_TEST_SERVER_
|
|
|
StringCchPrintf(szIniPath, MAX_PATH, _T("%sSATService_Test.ini"), g_szCurModuleDir);
|
|
|
+#else
|
|
|
+ StringCchPrintf(szIniPath, MAX_PATH, _T("%sSATService.ini"), g_szCurModuleDir);
|
|
|
#endif
|
|
|
|
|
|
HANDLE hFile = CreateFile(szIniPath, 0/*GENERIC_READ*/, 0, NULL, OPEN_EXISTING, 0, NULL);
|