Solved

What is "Binary Compatability"?

Posted on 2004-09-03
1
195 Views
Last Modified: 2013-11-20
Hi,
    COM supports Binary compatability...ofcourse COM revolves around this concept only....First tell me  what is "Binary compatability"..cud u pls explain me in depth.....
Thanks in Advance,
Bhavana....
0
Comment
Question by:bhavana75
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
KurtVon earned 150 total points
ID: 11972742
Binary compatability is a generic term that means programs using the library do not need to be recompiled.  This only works if all the interfaces change only in ways that don't change function addresses, parameters, or return values.  DLLs were a simple solution to the problem (the functions are identified by index, so the loading program can look up the address) but not a very simple one.

COM, on the other hand, keeps track of interfaces, so the addresses are the same, but binary compatability can be maintained over more complex object like interfaces by keeping track of the function properties too.  Basically the object can not only report the addresses of the functions it exports, but can also provide a set of standard functions that report on the names and types of parameters the functions take.

This means you can make very complex changes to a COM library and, at least in theory, not break any of the programs that used the old library.

Hope this helps.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question