- #pragma once
- #include <windows.h>
- class TConfigA
- {
- public:
- TConfigA(void);
- ~TConfigA(void);
- BOOL Open(const char* FileName);
- BOOL Open();
- void Close();
- static char* GetConfigFileName(char* Path, int Size);
- void ReadSystemString(LPCTSTR Key, char* Value, int Size);
- void ReadCmd(int index, char* value, int size);
- void ReadField(int index, char* value, int size);
- void ReadCount(char* value,int size);
- public:
- char m_FileName[256];
- };