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

📄 convertnum.idl

📁 这个程序有别于已经做好exe文件的2-8-10-16进制转换程序而是可以被其他程序调用
💻 IDL
字号:
// ConvertNum.idl : IDL source for ConvertNum.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(16C3DA87-A3B5-45E5-8FE3-5830576B3921),
		dual,
		helpstring("IConvert Interface"),
		pointer_default(unique)
	]
	interface IConvert : IDispatch
	{
		[id(1), helpstring("method IsValidate")] HRESULT IsValidate([in] VARIANT varStr, [in]long lBase, [in]long lLength);
		[id(2), helpstring("method Convert")] HRESULT Convert([in] VARIANT varStr, [in] long lOldBase, [in] long lNewBase, [in] long lLength, [out,retval] VARIANT* pvarResult);
	};

[
	uuid(BE781B5E-6486-4F78-BB5A-B1629E4CD975),
	version(1.0),
	helpstring("ConvertNum 1.0 Type Library")
]
library CONVERTNUMLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(412D7F8C-F01E-4008-B0DB-4615692E198F),
		helpstring("Convert Class")
	]
	coclass Convert
	{
		[default] interface IConvert;
	};
};

⌨️ 快捷键说明

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