helloworld3.idl

来自「Visual C++编程宝典随书光盘里的代码」· IDL 代码 · 共 42 行

IDL
42
字号
// HelloWorld3.idl : IDL source for HelloWorld3.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
	

	[
		object,
		uuid(5C655924-ECB0-11D1-B719-0080AD17AF01),
		dual,
		helpstring("IFull Interface"),
		pointer_default(unique)
	]
	interface IFull : IDispatch
	{
	};

[
	uuid(5C655918-ECB0-11D1-B719-0080AD17AF01),
	version(1.0),
	helpstring("HelloWorld3 1.0 Type Library")
]
library HELLOWORLD3Lib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(5C655925-ECB0-11D1-B719-0080AD17AF01),
		helpstring("Full Class")
	]
	coclass Full
	{
		[default] interface IFull;
	};
};

⌨️ 快捷键说明

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