MyTools.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // MyTools.h: interface for the CMyTools class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_MYTOOLS_H__D7BD2EE9_5E1F_4189_8CA1_878FBB6F26D7__INCLUDED_)
- #define AFX_MYTOOLS_H__D7BD2EE9_5E1F_4189_8CA1_878FBB6F26D7__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "resource.h"
- class ATL_NO_VTABLE CMyTools :
- public CComObjectRootEx<CComSingleThreadModel>,
- public CComCoClass<CMyTools,&CLSID_MyTools>,
- public IMyAdd
- {
- public:
- CMyTools();
- virtual ~CMyTools();
- DECLARE_REGISTRY_RESOURCEID(IDR_REGISTRY1)
- DECLARE_PROTECT_FINAL_CONSTRUCT()
- BEGIN_COM_MAP(CMyTools)
- COM_INTERFACE_ENTRY(IMyAdd)
- END_COM_MAP()
- STDMETHOD(add)(int a, int b, int *c);
- };
- #endif // !defined(AFX_MYTOOLS_H__D7BD2EE9_5E1F_4189_8CA1_878FBB6F26D7__INCLUDED_)