- 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);
- }