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

📄 doublependulum.idl

📁 主要介绍vc++6.0的编程过程
💻 IDL
字号:
// DoublePendulum.idl : IDL source for DoublePendulum.dll
//

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

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

	[
		object,
		uuid(80A71B2C-E5ED-11D1-B719-0080AD17AF01),
		dual,
		helpstring("IDoublePend Interface"),
		pointer_default(unique)
	]
	interface IDoublePend : IDispatch
	{
		[id(1), helpstring("method SetValue")] HRESULT SetValue(double dValue);
		[id(2), helpstring("method Update")] HRESULT Update();
	};

[
	uuid(80A71B20-E5ED-11D1-B719-0080AD17AF01),
	version(1.0),
	helpstring("DoublePendulum 1.0 Type Library")
]
library DOUBLEPENDULUMLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(D6AA8FAD-E29D-11D1-B719-0080AD17AF01),
		helpstring("DoublePend Class")
	]
	coclass DoublePend
	{
		[default] interface IDoublePend;
	};
};

⌨️ 快捷键说明

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