string strTempUTF8 = GB2312ToUTF8(strTemp); WritePrivateProfileStringA("Path", "Path1", strTempUTF8.c_str(), W2A(m_strIniFileFullPath));