📄 sievemfc.odl
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -