hellooffice.idl

来自「文件包含了很多VC实例」· IDL 代码 · 共 39 行

IDL
39
字号
// HelloOffice.idl : IDL source for HelloOffice.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(A91570A9-2B1D-4444-99BE-4253F474C36B),
		dual,
		helpstring("IHelloMyATL Interface"),
		pointer_default(unique)
	]
	interface IHelloMyATL : IDispatch
	{
	};

[
	uuid(DCEC51F9-0C0D-4E7E-B78B-A6B9D610E895),
	version(1.0),
	helpstring("HelloOffice 1.0 Type Library")
]
library HELLOOFFICELib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(C6F3D1BD-0037-4442-BDA0-2331D600C455),
		helpstring("HelloMyATL Class")
	]
	coclass HelloMyATL
	{
		[default] interface IHelloMyATL;
	};
};

⌨️ 快捷键说明

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