⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mymfcdll.odl

📁 本程序创建了一个AcitveX控件
💻 ODL
字号:
// myMFCDll.odl : type library source for myMFCDll.dll

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

[ uuid(36196F31-7435-4030-B149-CF93DC22F303), version(1.0) ]
library MyMFCDll
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");




	//  Primary dispatch interface for CDisp
	
	[ uuid(809613A8-BEB3-4C85-9C67-9C33F95148CF) ]
	dispinterface IDisp
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CDisp)
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CDisp)
			[id(1)] long Add(long n1, long n2);
			[id(2)] BSTR Upper(BSTR str);
			//}}AFX_ODL_METHOD

	};

	//  Class information for CDisp

	[ uuid(4BA0C93C-E243-4374-A48B-59184603E1A0) ]
	coclass Disp
	{
		[default] dispinterface IDisp;
	};

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

⌨️ 快捷键说明

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