Solved

What is "Binary Compatability"?

Posted on 2004-09-03
1
194 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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
unable to delete all specified values regedit 38 869
ShiftLeft challenge 21 95
Not needed 13 133
Is there a simple front-end menu system. 9 142
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.

739 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