Developing COM Components using VC-ATL(3-4)
来源:互联网 发布:windows快速安装工具 编辑:程序博客网 时间:2024/06/05 19:32
文献:http://www.verydemo.com/demo_c92_i191183.html
uuid(B1D1C73C-E340-4FDC-8734-92ECEC64DC4E),
dual,
helpstring("IValidateCard Interface"),
pointer_default(unique)
interface IValidateCard : IDispatch
uuid(B3404054-C33E-4931-B737-5783CEEFECDB),
version(1.0),
helpstring("ValidateCreditCardServer 1.0 Type Library")
importlib("stdole32.tlb");
importlib("stdole2.tlb");
uuid(C79635D2-7B86-4B20-A83C-0565DCA54C3C),
helpstring("ValidateCard Class")
coclass ValidateCard
[default] interface IValidateCard;
3.
uuid(B1D1C73C-E340-4FDC-8734-92ECEC64DC4E),
dual,
helpstring("IValidateCard Interface"),
pointer_default(unique)
interface IValidateCard : IDispatch
[id(1), helpstring("method ValidateCreditCard")] HRESULT ValidateCreditCard([in] BSTR bstrCCNo,[in]BSTR bstrCCType,[out,retval]long *val );
[id(2), helpstring("method LuhnCheck")] HRESULT LuhnCheck([in] BSTR bstrCCNo,[in]BSTR bstrCCType);
[id(3), helpstring("method LengthCheck")] HRESULT LengthCheck([in] BSTR bstrCCNo,[in]BSTR bstrCCType);
[id(4), helpstring("method PrefixCheck")] HRESULT PrefixCheck([in] BSTR bstrCCNo,[in]BSTR bstrCCType);
};
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CValidateCard, &CLSID_ValidateCard>,
public IDispatchImpl<IValidateCard, &IID_IValidateCard, &LIBID_VALIDATECREDITCARDSERVERLib>
CValidateCard()
}
COM_INTERFACE_ENTRY(IValidateCard)
COM_INTERFACE_ENTRY(IDispatch)
STDMETHOD(PrefixCheck)(/*[in]*/ BSTR bstrCCNo,/*[in]*/BSTR bstrCCType);
STDMETHOD(LengthCheck)(/*[in]*/ BSTR bstrCCNo,/*[in]*/BSTR bstrCCType);
STDMETHOD(LuhnCheck)(/*[in]*/ BSTR bstrCCNo,/*[in]*/BSTR bstrCCType);
STDMETHOD(ValidateCreditCard)(/*[in]*/ BSTR bstrCCNo,/*[in]*/BSTR bstrCCType,/*[out,retval]*/long *val);
- Developing COM Components using VC-ATL(3)
- Developing COM Components using VC-ATL(3-4)
- Developing COM Components using VC-ATL(3-4)
- Developing COM Components using VC-ATL(1)
- Developing COM Components using VC-ATL(2)
- Developing COM Components using VC-ATL(1)
- Developing COM Components using VC-ATL
- Developing COM Components using VC-ATL(3-3)
- Developing COM Components using VC-ATL(2-4)
- Developing COM Components using VC-ATL(2-3)
- Developing COM Components using VC-ATL(3-2)
- Developing COM Components using VC-ATL(3-5)
- Developing COM Components using VC-ATL(3-6)
- Developing COM Components using VC-ATL(3-7)
- Developing COM Components using VC-ATL(1-2)
- Developing COM Components using VC-ATL(2-2)
- Developing COM Components using VC-ATL(2-5)
- Developing COM Components using VC-ATL(2-6)
- AfxGetApp();
- BizTalk Server 2006业务活动监控
- Ext异步请求session过期解决方案
- Java普通类取request | session
- smarty实例教程---程序设计部分
- Developing COM Components using VC-ATL(3-4)
- 重学c语言系列四--变量在内存中的布局(二)
- 智能手机usb网络共享
- Linux时区、时间的更改
- 求教,怎么在局域网内连接其他主机的SQL2008数据库
- SQL Server内部的内存管理
- [翻译]Ext JS 教程-组件
- ruby元编程之 method_missing 一个细节
- MSSQL经典语句