定义Win32和COM. [英] Define Win32 And COM.

查看:112
本文介绍了定义Win32和COM.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道这两件事之间的区别,它们是如何连接的...我猜想COM是Win32 API的一部分.

I want to know the different between these 2 things, how they are connected...I guess COM is a part of the Win32 API.

推荐答案

COM :-

Microsoft Windows系列操作系统中的Microsoft COM(组件对象模型)技术使软件组件能够进行通信.开发人员使用COM来创建可重用的软件组件,将组件链接在一起以构建应用程序,并利用Windows服务.
Microsoft为许多Windows应用程序编程接口(例如Direct Show,Media Foundation,Packaging API,Windows Animation Manager,Windows便携式设备和Microsoft Active Directory(AD))提供COM接口.
Win32:-

Windows以Win32 API的形式公开了许多功能.使用这些API,您可以在Windows中执行直接操作,从而提高应用程序的性能.
COM:-

Microsoft COM (Component Object Model) technology in the Microsoft Windows-family of Operating Systems enables software components to communicate. COM is used by developers to create re-usable software components, link components together to build applications, and take advantage of Windows services.
Microsoft provides COM interfaces for many Windows application programming interfaces such as Direct Show, Media Foundation, Packaging API, Windows Animation Manager, Windows Portable Devices, and Microsoft Active Directory (AD).

Win32:-

Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.


这篇关于定义Win32和COM.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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