.NET and COM

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • J. Marcelo Barbieri

    #1

    .NET and COM

    a.. When creating COM component with .NET, what would be the limitations?
    Can I use try catch, constructors, destructors, etc? When running the
    components on COM+, I would need .NET Framework installed on the Application
    Server? Right?
    b.. Why there's no COM template in C# as I have in VB.NET? What do I have
    to do to obtain the same result when using the template?
    thanks a lot.


  • Champika Nirosh

    #2
    Re: .NET and COM

    COM is unmanage and they are not understand by .NET without a callable
    wapper.. I wonder how some one going to build a COM object using .NET/C#

    But .NET has Web Services

    Nirosh.

    "J. Marcelo Barbieri" <mbarbieri@bf.c om.br> wrote in message
    news:O8uoRQnRDH A.2148@TK2MSFTN GP10.phx.gbl...[color=blue]
    > a.. When creating COM component with .NET, what would be the[/color]
    limitations?[color=blue]
    > Can I use try catch, constructors, destructors, etc? When running the
    > components on COM+, I would need .NET Framework installed on the[/color]
    Application[color=blue]
    > Server? Right?
    > b.. Why there's no COM template in C# as I have in VB.NET? What do I[/color]
    have[color=blue]
    > to do to obtain the same result when using the template?
    > thanks a lot.
    >
    >[/color]


    Comment

    • Dave Loynd

      #3
      Re: .NET and COM

      You can simply build your component as you would like in whatever .NET
      language. You can then expose it as a COM object (more or less) using
      regasm.exe.
      --
      Dave Loynd
      C# MCP, Motorcycle Racer, Organ Donor


      "J. Marcelo Barbieri" <mbarbieri@bf.c om.br> wrote in message
      news:O8uoRQnRDH A.2148@TK2MSFTN GP10.phx.gbl...[color=blue]
      > a.. When creating COM component with .NET, what would be the[/color]
      limitations?[color=blue]
      > Can I use try catch, constructors, destructors, etc? When running the
      > components on COM+, I would need .NET Framework installed on the[/color]
      Application[color=blue]
      > Server? Right?
      > b.. Why there's no COM template in C# as I have in VB.NET? What do I[/color]
      have[color=blue]
      > to do to obtain the same result when using the template?
      > thanks a lot.
      >
      >[/color]


      Comment

      Working...