注册COM对象不一定要注册LIBID_Xxx吧?
解决方案 »
- 用什么方法可以模拟一个串口发送数据给应用程序!
- Cstring 如何清空重来呢?
- 请教:小弟我最近受困于DX中的ColorKey(色键)问题中,平时用惯了RGB,不知道如何将一个RGB值传换成SetColorKey()函数期待的参数类型,
- 怎样在一个按钮控件上加位图?
- 谁有CRC校验的详细资料或代码??100分求
- 我写的程序为什么在Debug状态下Compile,Build,Run均没什么问题,在Release下Compile,Build没问题,但Run时,出现了“内存读”的消息提示
- 单文档视图模式的时候左上角的那个“无标题”怎么更改?就是大标题左面的那个。
- 如果有一个好的创业的点子,如何去筹集资金呢?
- 请问有没有过渡性难度的好书?
- 我定义的struct为什么不对?
- 如何在CStatic 控件上划一根线?
- 如何实现背景问题
我只是想知道注册究竟有什么用?怎么用?
请luohualiushui(落花流水) 说的详细点好吗?
The ITypeLibInfo object controls information about the properties contained in the specified type library such as its name, GUID, interfaces, location, and version. For example, using these properties, you could add the methods of a specified interface to a project. See the Visual Studio Implement Interface Wizard for an example.Note See Interpreting Visual C++ Wizard Model Examples for more information about how properties are called in both the HTML and the default.js files of a custom wizard.
Requirements
Namespace: VCWIZLibFile: vcwiz.dllExample
// From Visual Studio's Implement Interface Wizardfunction AddTypeLibOption(oTypeLibsSelect, oTypeLib, strVersion)
{
var oOption = document.createElement("OPTION");
oOption.text = oTypeLib.Name + "<" + (strVersion.length ? strVersion : "1.0") + ">";
oOption.value = oTypeLib.Location;
oTypeLibsSelect.add(oOption);
}See Also