posts - 43,comments - 3,trackbacks - 0
产生 **.tlb, **_i.c, **.h 命令如下:
MIDL YourName.IDL /tlb YourName.tlb /h YourName.h /iid YourName_i.c /Oicf

= = = = =
The /iid switch specifies the name of the interface identifier file for a COM interface, overriding the default name obtained by adding _i.c to the IDL file name.

midl /iid filename
=============

The /h option is functionally equivalent to the /header option.The /h switch specifies filename as the name for a header file that contains all the definitions contained in the IDL file, without the IDL syntax. This file can be used as a C or C++ header file.
midl /h tlibhead.h filename.idl
=============
The /proxy switch specifies the name of the interface proxy file for a COM interface.
midl /proxy proxy_file_name
zz:http://blog.csdn.net/sunshine1314/archive/2007/04/12/1562376.aspx

 
 
posted on 2009-10-06 19:45 RUI 阅读(764) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理