COM-Component Object Model Interoperatibility.

-- So first of all what is COM ? COM is system to interact with the Softwares.
-- There are various kinds of COMs like COM+ , COM OLE , Distributed COM.
-- Since classic ASP was limited in its functionality, in order to perform certain tasks in an ASP Web application, a COM component was needed. For example, creating images, examining the Event Log
-- COM is for interacting with various components using binary modules.
-- It usese in many programming languages.
-- It was introduced by Microsoft.
-- COM objects can still be used with all .NET languages without problems.

-- To interopertae between .NET and COM , CLR(Common Language Runtime) provides wrappers to make each object think it is talking to an object from its own architecture.
-- A .NET client calling a COM object results in the CLR using a runtime callable wrapper (RCW) to make the .NET client think it is talking to a .NET object
-- A COM client calling a .NET object results in the CLR using a COM callable wrapper (CCW) that makes the COM client think it is talking to another COM object
-- The RCW translates specific calls from the ASP.NET Web page into COM-specific invocation requests on a COM component
-- When using RCWs, our ASP.NET Web page will believe that it's talking to just another .NET component instead of talking to a COM component.



Author: ChandraShekar Thota26 Jan 2009 Member Level: Gold   Points : 2


Chandrashekar Thota(Editor, MVP)

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: