zoukankan      html  css  js  c++  java
  • Exposing COM Components to the .NET Framework之三Compile an interop project

    Compiling an Interop Project

    COM interop projects that reference one or more assemblies containing imported COM types are compiled like any other managed project. You can reference interop assemblies in a development environment such as Microsoft Visual Studio .NET and compile your project normally, or you can use a command-line compiler. In either case, to compile properly, the COM-derived assembly must be in the same directory as the other project files.

    To reference an assembly with a command-line compiler, use the /reference compiler switch (for Visual Basic .NET and C# projects) and the name of the DLL containing the imported COM types.

    The .NET Framework SDK provides compilers for Visual Basic .NET, C#, the Managed Extensions for C++, and JScript .NET. For compiler-related instructions, see your language documentation.

  • 相关阅读:
    java 反射
    java 面试题
    Java构造和解析Json数据的两种方法详解一
    JAVA UUID 生成
    tomcat 插件
    webstorm 激活码
    maven环境搭建
    svn 安装网站
    2015.6.30 反弹的教训(想做T)
    2015.6.15 惨跌开始的反思
  • 原文地址:https://www.cnblogs.com/MayGarden/p/1630971.html
Copyright © 2011-2022 走看看