ex24a.odl

来自「vc++技术内幕第四版(清华版)源码。vc++技术内幕书是vc++的权威书籍」· ODL 代码 · 共 44 行

ODL
44
字号
// ex24a.odl : type library source for ex24a.exe

// This file will be processed by the MIDL compiler to produce the
// type library (ex24a.tlb).

[ uuid(A9515AA2-5B85-11D0-848F-00400526305B), version(1.0) ]
library Ex24a
{
	importlib("stdole32.tlb");
	

	//  Primary dispatch interface for CBank
	
	[ uuid(A9515AB6-5B85-11D0-848F-00400526305B) ]
	dispinterface IBank
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CBank)
			[id(1)] double Balance;
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CBank)
			[id(2)] double Withdrawal(double dAount);
			[id(3)] void Deposit(double dAmount);
			//}}AFX_ODL_METHOD

	};

	//  Class information for CBank

	[ uuid(632B1E4C-F287-11CE-B5E3-00AA005B1574) ]
	coclass Bank
	{
		[default] dispinterface IBank;
	};

	//{{AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?