Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is more the other way around, COM was designed to fit with how MSVC generates vtables.

It is a simplification of OLE, and by the time the idea came up to use that approach, there were tons of OLE code since Windows 3.1.

By the way it wasn't gone away, after how Longhorn went down, it became the main API delivery mechanism on Windows, sadly improving the tooling has never been a pritority other than half-finished attempts.



IIRC the rule now is that every new API has to be provided through a COM interface


That rule has been like that since Vista came to be, when .NET approach from Longhorn was redone in COM/C++.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: