home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / mfccalc / mfccalc.odl < prev    next >
Text File  |  1998-03-26  |  1KB  |  50 lines

  1. // mfccalc.odl : type library source for mfccalc.exe
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (mfccalc.tlb).
  5.  
  6. [ uuid(5627AF00-F44C-11CD-8C3D-00AA004BB3B7), version(1.0) ]
  7. library mfccalc
  8. {
  9.     importlib("stdole32.tlb");
  10.     
  11.  
  12.     //  Primary dispatch interface for CCalcDlg
  13.     
  14.     [ uuid(990BA900-F45E-11cd-8C3D-00AA004BB3B7) ]
  15.     dispinterface ICalcDlg
  16.     {
  17.         properties:
  18.             // NOTE - ClassWizard will maintain property information here.
  19.             //    Use extreme caution when editing this section.
  20.             //{{AFX_ODL_PROP(CCalcDlg)
  21.             [id(1)] long Accum;
  22.             [id(2)] long Operand;
  23.             [id(3)] short Operation;
  24.             [id(4)] boolean Visible;
  25.             //}}AFX_ODL_PROP
  26.             
  27.         methods:
  28.             // NOTE - ClassWizard will maintain method information here.
  29.             //    Use extreme caution when editing this section.
  30.             //{{AFX_ODL_METHOD(CCalcDlg)
  31.             [id(5)] boolean Evaluate();
  32.             [id(6)] void Clear();
  33.             [id(7)] void Display();
  34.             [id(8)] void Close();
  35.             [id(9)] boolean Button(BSTR szButton);
  36.             //}}AFX_ODL_METHOD
  37.  
  38.     };
  39.  
  40.     //  Class information for CCCalcDlg
  41.  
  42.     [ uuid(62C4DD10-F45E-11cd-8C3D-00AA004BB3B7) ]
  43.     coclass CCCalcDlg
  44.     {
  45.         [default] dispinterface ICalcDlg;
  46.     };
  47.  
  48.     //{{AFX_APPEND_ODL}}
  49. };
  50.