wchar_t g_current_dir[1280];
GetCurrentDirectory(sizeof(g_current_dir), g_current_dir);
wchar_t init_file[1280];
wsprintf(init_file, _T("%s\\smseasy.ini"), g_current_dir);
isEnglish=GetPrivateProfileInt(_T("CMPP"),_T("PORT"), -1, init_file);
但是我的为isEnglish=-1