COM issue under .NET

  • Thread starter Thread starter Bryan Gan
  • Start date Start date
B

Bryan Gan

Dear all,

Can I know is there any improvement if develop COM
under .NET comparing to develop COM using VC6?

thanks.
 
You can't develop COM applications in the .NET Framework.

You can CALL a COM component and use it within a .NET application, but this
usually creates a performance hit, since the .NET Framework will have to
create a runtime callable wrapper class around your COM object.
 
Actually you can create COM components using .NET, or at least using VB.NET
and C#, I'm not sure about other languages. COM Interop works both ways, you
can use TLBIMP to create a runtime callable (RCW) so that .NET can use a COM
component or you can use TLBEXP to create a COM callable wrapper (CCW) so
that COM enabled applications can use you .NET component.

One resource that describes this in detail is "Professional Visual Basic
Interoperability" by Lhotka and Hollis (WROX).
 
Hi Scott,

OK, I see what you're saying now. You're right, you can't do it natively in
..NET.

Rob
 
Is it possible to call CORBA stuff from .NET as standard or must I use some
other 3rd party libraries.
 
Mr.Tickle said:
Is it possible to call CORBA stuff from .NET as standard or must I use some
other 3rd party libraries.
I think it can currently only be done via third party libraries.
From what I've read borlands C# builder provides a CORBA library, Mono
provides a CORBA library, and there is an open source library[1](that I
believe mono either uses or based their CORBA support off of, but i'm not
sure and i'm too tired to look).
As i recall, the CORBA support in all cases is done using remoting.(i could
be wrong about borland's library)
I don't know if MS will ever support CORBA in the standard BCL, its
something i'd like to see, but...who knows.
COM is much more of an issue on the windows platform with application
integration, it had to be there v1.

1. that project can be located at http://remoting-corba.sourceforge.net/
 
Daniel O'Connell said:
Mr.Tickle said:
Is it possible to call CORBA stuff from .NET as standard or must I use some
other 3rd party libraries.
I think it can currently only be done via third party libraries.
From what I've read borlands C# builder provides a CORBA library, Mono
provides a CORBA library, and there is an open source library[1](that I
believe mono either uses or based their CORBA support off of, but i'm not
sure and i'm too tired to look).
As i recall, the CORBA support in all cases is done using remoting.(i could
be wrong about borland's library)

MiddTec provides a C# Object Request Broker: http://www.middtec.com.
 
Back
Top