samedi 14 mars 2015

Why is the COM interface contract immutable?


I've googled quite a bit, and found it weird that no one cared to explain why COM interfaces are immutable. I suppose that the reason you're unable to remove any methods from a COM interface, is because a client relying on that interface, would encounter an error, which isn't good. But why would adding new features to the interface change any of that? Has this something to do with the underlying vtable?




Aucun commentaire:

Enregistrer un commentaire