- CFileFind fFind;
- //如果文件夹不存在,则创建此文件夹
- if (!fFind.FindFile(m_szAppIniPath))
- {
- SECURITY_ATTRIBUTES attrib;
- attrib.bInheritHandle = FALSE;
- attrib.lpSecurityDescriptor = NULL;
- attrib.nLength = sizeof(SECURITY_ATTRIBUTES);
- ::CreateDirectory(m_szAppIniPath, &attrib);
- }