16,472
社区成员
发帖
与我相关
我的任务
分享
TCHAR* pTemp[1024] = {NULL};
char* pSectionName[1024] ={NULL};
::GetPrivateProfileString(pTemp,...);
USES_CONVERSION;
pSectionName= W2A(pTemp);
CString pSectionName = _T("你自己的内容");
CString strStype = _T("你自己的内容");
::GetPrivateProfileString(pSectionName,_T("Stype"),_T(""),strStype.GetBuffer(MAX_PATH),MAX_PATH,_T(".\\Configuration.ini"));