- // component.idl
- import "unknwn.idl";
- [ object, uuid(10000001-AAAA-0000-0000-A00000000001) ]
- interface IPrime : IUnknown
- {
- HRESULT IsPrime(int testnumber, [out, retval] int* retval);
- }
- [ uuid(10000003-0000-0000-0000-000000000001),
- helpstring("Inside COM+ Sample"),
- version(1.0) ]
- library Component
- {
- importlib("stdole32.tlb");
- interface IPrime;
- [ uuid(10000002-0000-0000-0000-000000000001) ]
- coclass InsideCOM
- {
- interface IPrime;
- }
- };