So, the trick here is to first use the Microsoft MIDL compiler on the IDL specification in Listing 12 to create a type library we'll call cookie.tlb.
所以,这里的秘诀就是先用微软的MID编译器处理清单12中的IDL规范,建立一个名为cookie . tlb的类型库。
The file should contain one MIDL command-line option per line.
该文件中的每行应包含一个 MIDL 命令行选项。
You define the unmanaged type in Interface Definition Language (IDL) and compile it with the MIDL compiler.
您用接口定义语言 (IDL) 定义非托管类型,然后用 MIDL 编译器对其进行编译。
应用推荐