2011年1月21日

添加COM类型库ACTIVEX接口

摘要: 头文件public:STDMETHOD(GetEsamVersion)(BSTR* pVersion,int* nRet);在项目.idl文件里添加interface ITool : IDispatch{[id(9), helpstring("method GetEsamVersion")] HRESULT GetEsamVersion([in,out]BSTR* pVersion, [out,retval]int* nRet);};cpp文件STDMETHODIMP CTool::GetEsamVersion(BSTR* pVersion,int* nRet){} 阅读全文

posted @ 2011-01-21 15:11 Blackie 阅读(848) 评论(1) 推荐(0) 编辑

导航