Myfirst.cpp
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:1k
- // Myfirst.cpp : Implementation of CMyfirst
- #include "stdafx.h"
- #include "Myaddinter.h"
- #include "Myfirst.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMyfirst
- STDMETHODIMP CMyfirst::add(int a, int b, int *c)
- {
- // TODO: Add your implementation code here
- return S_OK;
- }
- STDMETHODIMP CMyfirst::sub(int a, int b, int *c)
- {
- // TODO: Add your implementation code here
-
- return S_OK;
- }
- STDMETHODIMP CMyfirst::hello(BSTR name, BSTR* result)
- {
- *result=::SysAllocString(L"hello the world");
- return S_OK;
- }