Solved

What is "Binary Compatability"?

Posted on 2004-09-03
1
189 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
1 Comment
 
LVL 11

Accepted Solution

by:
KurtVon earned 150 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 47
Complete beginner needs help making a cron job 9 103
move a line in eclipse 3 60
sum13 challenge 24 77
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…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now