在工程名.h头文件中写public:

class CaccessimageApp : public CWinApp
{
public:
    _ConnectionPtr m_pConnection;
    CaccessimageApp();

// 重写
public:
    virtual BOOL InitInstance();
    virtual int ExitInstance();
// 实现

    DECLARE_MESSAGE_MAP()
};

class CaccessimageApp : public CWinApp

 

 

posted @ 2017-08-17 22:47  ostartech  阅读(561)  评论(0编辑  收藏  举报