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

📄 msg_atl.idl

📁 EVC4下创建和使用ATL控件的例子和讲解
💻 IDL
字号:
// Msg_ATL.idl : IDL source for Msg_ATL.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (Msg_ATL.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(7E9C8D77-2271-47AC-8D30-A4E7A8EBAE3E),
		dual,
		helpstring("IProcess Interface"),
		pointer_default(unique)
	]
	interface IProcess : IDispatch
	{
		[id(1), helpstring("method Show")] HRESULT Show();
	};

[
	uuid(B82ADD23-2C7C-4AF3-962C-4D4DDBD78E8D),
	version(1.0),
	helpstring("Msg_ATL 1.0 Type Library")
]
library MSG_ATLLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(8FB98E70-926E-4C99-99D3-934C78370FB7),
		helpstring("Process Class")
	]
	coclass Process
	{
		[default] interface IProcess;
	};
};

⌨️ 快捷键说明

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