Solved

What is "Binary Compatability"?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Named range not carried over 10 63
has22 challenge 11 96
only14 challenge 19 76
canBalance challenge 34 87
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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

831 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