Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Creating .NET Assembly for COM Usage

Creating .NET Assembly for COM Usage

Scheduled Pinned Locked Moved C#
csharpcomtoolsvisual-studioquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hussam Fattahi
    wrote on last edited by
    #1

    When creating .NET Assembly for COm Usage manualy, there are many steps: 1. compile the type library you have created through C# compiler 2. use the type library exporter utility. 3. you need to create a resource script for your type library using the command IDR_TYPELIB1 typelib "YourLibrary.tlb" 4. you need to recompile the type library with the new resource file added i coudn't understand step number 3. what is the necessity of creating the resource script, and is it done automatically when using visual studio to expose the assembly and do the job for you.

    A 1 Reply Last reply
    0
    • H Hussam Fattahi

      When creating .NET Assembly for COm Usage manualy, there are many steps: 1. compile the type library you have created through C# compiler 2. use the type library exporter utility. 3. you need to create a resource script for your type library using the command IDR_TYPELIB1 typelib "YourLibrary.tlb" 4. you need to recompile the type library with the new resource file added i coudn't understand step number 3. what is the necessity of creating the resource script, and is it done automatically when using visual studio to expose the assembly and do the job for you.

      A Offline
      A Offline
      Alan Balkany
      wrote on last edited by
      #2

      I found this page helpful: http://support.microsoft.com/kb/828736[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups