mfcsample.odl
来自「有很多实例可供参考」· ODL 代码 · 共 47 行
ODL
47 行
// MFCSample.odl : type library source for MFCSample.dll
// This file will be processed by the MIDL compiler to produce the
// type library (MFCSample.tlb).
[ uuid(39FD6DDD-D6CF-4AE8-BE7C-D513CE33C36F), version(1.0) ]
library MFCSample
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
// Primary dispatch interface for CAccount
[ uuid(B7067449-338D-4D3A-AE31-B1B0813673C0) ]
dispinterface IAccount
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CAccount)
[id(1)] long Balance;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CAccount)
[id(2)] BSTR Post(long lAmount);
//}}AFX_ODL_METHOD
};
// Class information for CAccount
[ uuid(82BFA33F-C2E3-409B-8514-3CB13BB2E26D) ]
coclass Account
{
[default] dispinterface IAccount;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?