asdll.odl

来自「《VC++ 编程技巧与示例 .rar》各个示例代码绝对可用」· ODL 代码 · 共 47 行

ODL
47
字号
// ASDll.odl : type library source for ASDll.dll

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

[ uuid(C6A9D8E6-C356-11D3-9462-0000000038B2), version(1.0) ]
library ASDll
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");




	//  Primary dispatch interface for CSort
	
	[ uuid(C6A9D8F3-C356-11D3-9462-0000000038B2) ]
	dispinterface ISort
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CSort)
			[id(1)] double LargerNumerber;
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CSort)
			[id(2)] double Sort(double x0, double x1);
			//}}AFX_ODL_METHOD

	};

	//  Class information for CSort

	[ uuid(C6A9D8F4-C356-11D3-9462-0000000038B2) ]
	coclass Sort
	{
		[default] dispinterface ISort;
	};

	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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