component.idl
上传用户:bjlvip
上传日期:2010-02-08
资源大小:744k
文件大小:1k
- // component.idl
- import "unknwn.idl";
- import "dispex.idl";
- [ object, uuid(10000001-0000-0000-0000-000000000001), dual ]
- interface ISum : IDispatchEx
- {
- [id(1)] HRESULT Sum(int x, int y, [out, retval] int* retvalue);
- [id(2)] HRESULT CreateNewSum(BSTR name);
- }
- [ uuid(10000003-0000-0000-0000-000000000001),
- helpstring("Inside COM+ Component Type Library"),
- version(1.0) ]
- library Component
- {
- importlib("stdole32.tlb");
- interface ISum;
- [ uuid(10000002-0000-0000-0000-000000000001) ]
- coclass InsideCOM
- {
- interface ISum;
- };
- };