zoukankan      html  css  js  c++  java
  • 再论Type Library Exporter (Tlbexp.exe)

    The Type Library Exporter generates a type library that describes the types defined in a common language runtime assembly.

    tlbexp assemblyName [/out:file] [/nologo] [/silent] [/verbose]

    The Type Library Exporter is supported on Microsoft Windows 2000 and later.

    The following command generates a type library with the same name as the assembly found in myTest.dll.

    tlbexp myTest.dll
    

    The following command generates a type library with the name clipper.tlb.

    tlbexp myTest.dll /out:clipper.tlb
    

    The following example illustrates using Tlbexp.exe to export a type library from an assembly that references assemblies that were imported using Tlbimp.exe.

    First use Tlbimp.exe to import the type library myLib.tlb and save it as myLib.dll.

    tlbimp myLib.tlb /out:myLib.dll
    

    The following command uses the C# compiler to compile the Sample.dll, which references myLib.dll created in the previous example.

    CSC Sample.cs /reference:myLib.dll /out:Sample.dll
    

    The following command generates a type library for Sample.dll that references myLib.dll.

    tlbexp Sample.dll

  • 相关阅读:
    NYOJ--42--dfs水过||并查集+欧拉通路--一笔画问题
    万能头文件#include
    微信小程序一
    项目上线
    docker
    支付宝支付
    django的分类过滤,区间过滤
    drf分页组件,搜索组件,排序组件,自定义过滤组件
    celery异步执行任务框架
    git使用二
  • 原文地址:https://www.cnblogs.com/MayGarden/p/1714631.html
Copyright © 2011-2022 走看看