none
COM object and C++ object difference. RRS feed

Answers

  • COM object can be written in many languages inlcuding C++, VB, Java or Inspecific any language adere to Microsoft Component Model specification.

    COM is a specification for binary standard for abstract class structure. Many languages (ex listed above) can implement and use COM components.
    COM objects are used to for language independent cross platform distributed applications in windows.

    C++ objects are native language object specific to the machine/OS written for. Only C++ clients can re-use C++ objects.


    Prashanth
    Tuesday, July 14, 2009 10:24 PM

All replies

  • Not the same thing.  Ask a specific question.

    Hans Passant.
    Friday, July 10, 2009 11:22 AM
    Moderator
  • But can pls tell me what is difference between COM object and c++ object ..

      if any body ask this question then what is answer..

           what is difference between COM object and c++ object ..
    Prabhat Singh
    Tuesday, July 14, 2009 1:55 PM
  • A C++ object is accessible only inside the program that creates it.  But a COM object is a C++ object that can be created within your program from other programs, and they can call its methods. The other programs can be written in many languages, not just C++.
    Tuesday, July 14, 2009 2:50 PM
  • A glaring "by-definition" difference would be that COM objects can be created in C++, unmanaged VB, and even using .NET languages like C#, C++/CLI and VB.NET.
    http://blog.voidnish.com
    Tuesday, July 14, 2009 3:01 PM
    Moderator
  • COM object can be written in many languages inlcuding C++, VB, Java or Inspecific any language adere to Microsoft Component Model specification.

    COM is a specification for binary standard for abstract class structure. Many languages (ex listed above) can implement and use COM components.
    COM objects are used to for language independent cross platform distributed applications in windows.

    C++ objects are native language object specific to the machine/OS written for. Only C++ clients can re-use C++ objects.


    Prashanth
    Tuesday, July 14, 2009 10:24 PM