mfc inifile unicode mode读取方法

CString cResult;
CString cTemp;
int nSize = 256;
GetPrivateProfileString(_T(“KEY”), _T(“path”), NULL, cTemp.GetBufferSetLength(nSize), nSize, cPath);
cResult = cTemp.GetBuffer(1);

猜你喜欢

转载自blog.csdn.net/zhouqt/article/details/78821433