使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 479b1995ef435713c2cf4f0da8de3a6af6c30922
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#if !defined(AFX_FILECOMMFUN_H__B8748F8E_7AC0_40EC_AF65_DA250BB488D6__INCLUDED_)
#define AFX_FILECOMMFUN_H__B8748F8E_7AC0_40EC_AF65_DA250BB488D6__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileCommFun.h : header file
//
 
/////////////////////////////////////////////////////////////////////////////
// CFileCommFun window
 
class AFX_EXT_CLASS CFileCommFun
{
// Construction
public:
    CFileCommFun();
    virtual ~CFileCommFun();
 
// Attributes
public:
 
// Operations
public:
    static CString        GetErrInfo( long nErrCode, CString strLanguage = _T( "CHS" ) );
 
    static char *        Str2Base64( const unsigned char *s, char *t, int n );
    static const char *    Base642Str( const char *s, char *t, size_t l, int *n );
 
    static ULONGLONG    GetDiskFreeSpace( CString strRootPath );
    static bool        ExistFile( CString strFilePath );
 
    static CString    GetPathName( CString strFileName );
    static CString    GetFileName( CString strPathName );
    static CString    GetFileTitle( CString strFileName );
    static CString    GetCurAppPath();
 
    static bool        WriteLogFile( CString strFile, CString strLog );
 
protected:
    static CString        GetErrInfo_Eng( long nErrCode );
    static CString        GetErrInfo_Chs( long nErrCode );
 
};
 
/////////////////////////////////////////////////////////////////////////////
 
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
#endif // !defined(AFX_FILECOMMFUN_H__B8748F8E_7AC0_40EC_AF65_DA250BB488D6__INCLUDED_)