123456789101112131415161718192021222324252627 |
- #include "StdAfx.h"
- #include "DiskZipFile.h"
- CDiskZipFile::CDiskZipFile(void)
- {
- m_filePath =_T("");
- }
- CDiskZipFile::CDiskZipFile( LPCTSTR filePath )
- {
- m_filePath = filePath;
- }
- CDiskZipFile::~CDiskZipFile(void)
- {
- }
- void CDiskZipFile::Open()
- {
- if(!m_filePath.IsEmpty()){
- CStringA filePathA= CT2A(m_filePath);
- zf=zipOpen2(filePathA,0,NULL,NULL);
- m_IsZipOpened =TRUE;
- }
- }
|