VS2008/2010项目引用IDL文件

开始菜单 -> Microsoft Visual Studio 2008 -> Visual Studio Tools -> Visual Studio 2008 Command Prompt

/

开始菜单 -> Microsoft Visual Studio 2010 -> Visual Studio Tools -> Visual Studio 2010 Command Prompt

IECapt#

IECapt# is a new and experimental version of IECapt written in C#. The source code is available in the CVS repositorty: IECapt.cs and IECaptComImports.idl. Feedback and patches welcome. To build it, use:

  1. midl IECaptComImports.idl
  2. tlbimp IECaptComImports.tlb
  3. aximp %SystemRoot%\system32\shdocvw.dll
  4. csc /r:IECaptComImports.dll /r:AxSHDocVw.dll /r:System.Windows.Forms.dll /r:System.Drawing.dll IECapt.cs

 

引用地址: http://iecapt.sourceforge.net/

posted @ 2012-08-22 10:53  Clotho_Lee  阅读(2611)  评论(0编辑  收藏  举报