组件对象模型 [英] Component Object Model

查看:146
本文介绍了组件对象模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是针对开发商谁是熟悉COM。 我目前正在写我的大学毕业论文是部分微软COM。

  1. 是COM今天仍然使用的目的,除了传统的code
  2. 在大家都说COM已经过时了。为什么是新的Windows运行时的增强型基于COM的API?什么是这个词意味着增强
  3. 有什么显著上升空间,以COM相比,.NET,反之亦然
  4. 在任何建议,其中更多地了解COM和.NET互操作以及如何准确它的工作原理

请支持你的答案用事实尽可能多的! 谢谢。

解决方案
  1. 是的。

  2. COM仍然是核心的Windows的工作方式。无论C风格的API是不够的,COM是下一步揭露的对象模型。是的,商店的应用程序是COM服务器。

  3. COM原产code,它增加了很少的开销,是从几乎被移植到Windows中的任何语言​​的使用。

  4. 参观amazon.com搜索图书,阅读评论。

这是没有必要再有知道的COM编写在Windows上运行的程序。大量的工作已完成把它包起来,使之更友好。语言突起商店语言运行时有显着的,还有的基础COM code可见极少数的痕迹。它贬谪到一个状态,它是堪比学习汇编语言编程。

My question is directed towards developers who are familiar with COM. I am currently writing my college thesis which is partially about Microsoft COM.

  1. is COM still used today for purposes besides legacy code
  2. everyone says COM is obsolete. Why is the new Windows Runtime an 'enhanced' COM based API? What is meant by the word 'enhanced'
  3. are there any significant upsides to COM compared to .NET or vice versa
  4. any recommendations where to learn more about COM and .NET Interop and how exactly does it work

Please support your answers with facts as much as possible! Thank you.

解决方案

  1. Yes.

  2. COM is still core to the way Windows works. Wherever a C-style api won't suffice, COM is the next step to expose an object model. And yes, Store apps are COM servers.

  3. COM is native code, it adds very little overhead and is usable from practically any language that was ported to Windows.

  4. Visit amazon.com to search for books, read the reviews.

It is not essential anymore to have to know COM to write programs that run on Windows. Lots of work was done to wrap it and make it friendlier. The language projections in Store language runtimes are notable, there are very few traces of the underlying COM code visible. Relegating it to a status that's comparable to learning assembly language programming.

这篇关于组件对象模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆