simple5.odl

来自「Thinkinc++English 电子书籍,英文版」· ODL 代码 · 共 44 行

ODL
44
字号
// Simple5.odl : type library source for Simple5.dll

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

[ uuid(6CEB44EB-6DA6-4045-A8E1-3DB991CA4FAA), version(1.0) ]
library Simple5
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	//  Primary dispatch interface for CDispSimple
	
	[ uuid(F5B5509F-946E-49C7-A9A6-305758CD5EA1) ]
	dispinterface IDispSimple
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CDispSimple)
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CDispSimple)
			[id(1)] long Add(long n1, long n2);
			[id(2)] BSTR Upper(BSTR str);
			//}}AFX_ODL_METHOD

	};

	//  Class information for CDispSimple

	[ uuid(E7EB0655-974A-47A5-B66A-10D3D321E45D) ]
	coclass DispSimple
	{
		[default] dispinterface IDispSimple;
	};

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

⌨️ 快捷键说明

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