mymfcdll.odl
来自「文件包含了很多VC实例」· ODL 代码 · 共 47 行
ODL
47 行
// myMFCDll.odl : type library source for myMFCDll.dll
// This file will be processed by the MIDL compiler to produce the
// type library (myMFCDll.tlb).
[ uuid(36196F31-7435-4030-B149-CF93DC22F303), version(1.0) ]
library MyMFCDll
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
// Primary dispatch interface for CDisp
[ uuid(809613A8-BEB3-4C85-9C67-9C33F95148CF) ]
dispinterface IDisp
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CDisp)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CDisp)
[id(1)] long Add(long n1, long n2);
[id(2)] BSTR Upper(BSTR str);
//}}AFX_ODL_METHOD
};
// Class information for CDisp
[ uuid(4BA0C93C-E243-4374-A48B-59184603E1A0) ]
coclass Disp
{
[default] dispinterface IDisp;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?