Interface IMyCom2 : IDispatch

{

[propget, id(0), helpstring("property Value")] HRESULT Value([out, retval] long *pVal);

[propput, id(0), helpstring("property Value")] HRESULT Value([in] long newVal);

[id(1), helpstring("method Raise")] HRESULT Raise([in] long AddVal);

}

[

uuid(F8CE5E43-1135-11d4-A324-0040F6D487D9),

helpstring("MyCom2 Class")

]