Solved

What is "Binary Compatability"?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 124
VBA "SendKeys" Syntax for Multiple Keystrokes 7 103
countEvens challenge 2 78
zeroFront challenge 7 80
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 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

16 Experts available now in Live!

Get 1:1 Help Now