home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / ADSDK.ZIP / Samples / Extension / Tutorial / step1 / ADsFirstExt.idl < prev    next >
Encoding:
Text File  |  1998-09-17  |  831 b   |  43 lines

  1. // ADsFirstExt.idl : IDL source for ADsFirstExt.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (ADsFirstExt.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.  
  10.     
  11.     [
  12.         object,
  13.         uuid(E1E3EDF7-48D1-11D2-B22B-0000F87A6B50),
  14.         dual,
  15.         helpstring("IHelloWorld Interface"),
  16.         pointer_default(unique)
  17.     ]
  18.     interface IHelloWorld : IDispatch
  19.     {
  20.         [id(1), helpstring("method Say")] HRESULT Say();
  21.     };
  22.  
  23. [
  24.     uuid(E1E3EDEA-48D1-11D2-B22B-0000F87A6B50),
  25.     version(1.0),
  26.     helpstring("ADsFirstExt 1.0 Type Library")
  27. ]
  28. library ADSFIRSTEXTLib
  29. {
  30.     importlib("stdole32.tlb");
  31.     importlib("stdole2.tlb");
  32.  
  33.     
  34.     [
  35.         uuid(E1E3EDF8-48D1-11D2-B22B-0000F87A6B50),
  36.         helpstring("HelloWorld Class")
  37.     ]
  38.     coclass HelloWorld
  39.     {
  40.         [default] interface IHelloWorld;
  41.     };
  42. };
  43.