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
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. COM vs Assembly

COM vs Assembly

Scheduled Pinned Locked Moved Managed C++/CLI
comcsharpc++visual-studiotutorial
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.
  • V Offline
    V Offline
    Varghese Paul M
    wrote on last edited by
    #1

    Hi, I have a COM component developed in VC++ which provides hundreds of interfaces. Many people use this component in their managed code using interop DLLs. 1. I just want to know if this is the right way of doing it? 2. Does it make sense providing a .NET assembly for them to do development in the .NET environment? 3. Is there any advantage if we use .NET assemblies instead of using COM via interop DLLs? 4. Is there any good article that explains how to convert unmanaged COM into managed assembly using managed C++? Thanks in advance

    cheers Varghese Paul

    L 1 Reply Last reply
    0
    • V Varghese Paul M

      Hi, I have a COM component developed in VC++ which provides hundreds of interfaces. Many people use this component in their managed code using interop DLLs. 1. I just want to know if this is the right way of doing it? 2. Does it make sense providing a .NET assembly for them to do development in the .NET environment? 3. Is there any advantage if we use .NET assemblies instead of using COM via interop DLLs? 4. Is there any good article that explains how to convert unmanaged COM into managed assembly using managed C++? Thanks in advance

      cheers Varghese Paul

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      I don't know that there is a definitive "right" way to do that. It likely depends on what services your COM components are providing and what the use model is etc. That said you should take a look at how Microsoft provides managed assemblies for using the Office Object Models. They are called Primary Interop Assemblies[^], and how they are different (better) than the standard Interop Generated .NET code.

      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