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

📄 mycoolapp.idl

📁 Adding automation to MFC applications
💻 IDL
字号:
#include "olectl.h"
[ uuid(4FE023B4-47A0-49ae-8D9B-800B98FD0B21), version(1.0) ]
// This is usually the name of your application.
library mycoolapp
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[ uuid(E594883F-0CC4-491a-A28C-B5071E53AE2C),
	  oleautomation,
	  dual
	]
	interface IApplication : IDispatch
	{
		[id(1), helpstring("method Show")] HRESULT Show (void);
	};

	[ uuid(B6A993E4-BFAA-452c-998F-BB4F6D6E0725) ]
	coclass Application
	{
		[default] interface IApplication;
	};
};

⌨️ 快捷键说明

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