使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 4905e2e7537d507f218e8e9595485e09d9f3a2b4
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
#pragma once
 
#include "CursorBase.h"
#include "MBAMDBConnect.h"
// STKMsgAttachmentRow command target
 
class AFX_EXT_CLASS CSTKMsgAttachmentRow : public CObject
{
public:
    CSTKMsgAttachmentRow();
    virtual ~CSTKMsgAttachmentRow();
    void operator = ( const CSTKMsgAttachmentRow &Item );
 
// Attributers
public:
    CMBAMDBConnect        *m_pAConnect;
    CCursorBase            *m_pCursor;
// Operations
public:
    bool            GetItemValueStr( CString strItemName, CString &strData );
    bool            GetItemValue( CString strItemName, VARIANT &vData );
    bool            GetAttachSize( long nIndex, __int64 &nSize );
    bool            GetAttachName( long nIndex, CString &strName );
    bool            GetAttachFileID( long nIndex, CString &strFileID );
    bool            GetAttachFileSFlag( long nIndex, CString &strFileSFlag );
    bool            GetAttachFilePath( long nIndex, CString &strFilePath );
    bool            GetAttachFileMD5( long nIndex, CString &strFileMD5 );
    bool            GetSendDate( CString &strSendDate );
    bool            GetMsgID( CString &strMsgID );
 
};