mycoolapp.idl
来自「Adding automation to MFC applications」· IDL 代码 · 共 24 行
IDL
24 行
#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 + =
减小字号Ctrl + -
显示快捷键?