EQuestionAnswers.com Computer/Electronics Questions and Answers
C, C++, VC++, COM/DCOM, DLL and more
#Login #Sign up  Facebook Twitter TGoogle+
 

#Previous question #Index of COM/DCOM Questions #Next question

ODL or Object Definition Language is the Microsoft’s Interface definition Language. Before the advent of standard in interface definition language Microsoft Office Software. ODL is now obsolete. It has been replaced by IDL. Please see below a sample ODL file having a interface IMFC.

// MFC.odl : type library source for MFC.exe

// This file will be processed by the MIDL compiler to produce the
// type library (MFC.tlb).

[ uuid(239D66F2-DF0C-4EFC-B006-7C642CF3455C), version(1.0) ]
library MFC
{
  importlib("stdole32.tlb");
  importlib("stdole2.tlb");


  //  Primary dispatch interface for CMFCDoc
  
  [ uuid(D9898CD5-A689-42CC-9A32-97B08BF4173C) ]
  dispinterface IMFC
  {
    properties:
      // NOTE - ClassWizard will maintain property information here.
      //    Use extreme caution when editing this section.
      //{{AFX_ODL_PROP(CMFCDlgAutoProxy)
      //}}AFX_ODL_PROP
      
    methods:
      // NOTE - ClassWizard will maintain method information here.
      //    Use extreme caution when editing this section.
      //{{AFX_ODL_METHOD(CMFCDlgAutoProxy)
      //}}AFX_ODL_METHOD

  };

  //  Class information for CMFCDoc
  
  [ uuid(144DDFE3-773B-4FDC-A013-9B067F13AA5B) ]
  coclass MFC
  {
    [default] dispinterface IMFC;
  };

  //{{AFX_APPEND_ODL}}
  //}}AFX_APPEND_ODL}}
};

You have viewed 1 page out of 66. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.

 Vote 0

Similar topics related to this section

# COM DCOM Interview Questions and Answers :: ALL Interview .com
# COM DCOM - COM DCOM Interview Questions
# COM interview questions | TechInterviews
# COM Interview Questions - CodeProject
# Com Dcom Interview Questions - Com and Dcom in Asp Net
# ATL Interview Questions and Answers :: ALL Interview .com
# ActiveX Interview Questions and Answers :: ALL Interview .com

* #1 webmaster Mon 28 Apr/2014 18:20:36(GMT)  Like 0 Unlike 0

Dear Users,

We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.

Regards,
Webmaster

Your message goes here:

Name:Guest
Email:anonymous@unknown.com
My Post:*
Secutiry Code: ******  *
Preview this compose before posting this in discussion forum.
 
Note:
  1. Use [Sxx] code to show smiles. Example [S02]
  2. Use [URL ], example [URL http://www.google.com/]
  3. To display code or un formatted text use [CODE] [/CODE]. Example: [CODE] printf("Hello world"); [/CODE]
 [S01]   [S02]   [S03]   [S04]   [S05]   [S06]   [S07]   [S08] 
 [S09]   [S10]   [S11]   [S12]   [S13]   [S14]   [S15]   [S16] 
 [S17]   [S18]   [S19]   [S20]   [S21]   [S22]   [S23]   [S24] 

Note: Only members are allowed, * fields are mandatory.