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}} };
About our authors: Team EQA
You have viewed 1 page out of 67. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.