sievemfc.odl
来自「The code for this article was written fo」· ODL 代码 · 共 49 行
ODL
49 行
// SieveMFC.odl : type library source for SieveMFC.dll
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (SieveMFC.tlb).
[ uuid(06CD1DA2-FB34-11CE-AE38-08002B32A778),
helpstring("Sieve of Eratosthenes As MFC C++ DLL"),
version(1.0)
]
library SieveMFC
{
importlib("stdole32.tlb");
// Primary dispatch interface for CSieveMFC
[ uuid(06CD1DA5-FB34-11CE-AE38-08002B32A778) ]
dispinterface IMSieve
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CSieveMFC)
[id(1)] short NextPrime;
[id(2)] short MaxPrime;
[id(3)] short Primes;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CSieveMFC)
[id(4)] void ReInitialize();
[id(5)] void AllPrimes(VARIANT* pv);
//}}AFX_ODL_METHOD
};
// Class information for CSieveMFC
[ uuid(06CD1DA6-FB34-11CE-AE38-08002B32A778) ]
coclass CSieveMFC
{
[default] dispinterface IMSieve;
};
//{{AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?