#pragma once #include "stdafx.h" #include "INI.h" class CIniUtil { public: CIniUtil(void); ~CIniUtil(void); CINI ini; BOOL GetDP5Data(CString m_strINIFile, CString m_strSection, CString cmdKey, CString *cmdData, CString *Comments); BOOL SaveDP5Data(CString m_strINIFile, CString m_strSection, CString cmdKey, CString cmdData, CString Comments); BOOL GetDP5Section(CString m_strINIFile, CString m_strSection, CStringList* m_strListDP5section); CString ConvertCmdListToCString(CStringList* strCmdList, BOOL AddNewLines, BOOL RemoveComments); CString GetMsIniItem(CString strCmdIn); BOOL DeleteDP5Key(CString m_strINIFile, CString m_strSection, CString cmdKey); };