产生 **.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 阅读(789)
评论(0) 编辑 收藏 引用