win32 and COM development

 做windows平台的软件开发,说一千道一万,各种各样,形形色色的windows客户端的软件,本质上都是利用windows SDK开发出来的。

windows SDK 包含了两大部分: win32  和 COM。
win32 : 早期微软提供 SDK 的方式,。通过dll中导出函数的方式实现。常见的 USER32.dll , Kernal32.dll 等
COM:  现代的微软提供 SDK 的方式。使用了面向对象技术的win32 API的发展。比如,现在的DirectX游戏开发工具,都是通过Com的方式发布的。

现在很火的.Net 所能提供的所有功能,win32 & Com都可以实现,反倒部分win32 & Com提供的部分功能,.Net中不具备。 按照微软的说法, 随着.Net的发展, .Net要实现win32 & Com的所有功能,实现win32 & Com暴露的所有接口。

MFC:就是对win32 中 窗口部分和 DialogBox部分接口的的封装,当然也封装了部分 Socket等东东。

看原文吧:
http://msdn.microsoft.com/en-us/aa702903.aspx

Win32 is the 32-bit application programming interface (API) for modern versions of Windows. COM—the Component Object Model—is the object-oriented successor to Win32.
  • Developers can use Win32 and COM to develop solutions in a range of areas, including security, graphics, device drivers, networking, and messaging and collaboration.
  • Much of the Win32 API is represented in the Microsoft Foundation Class Library (MFC) which provides classes for objects such as windows and dialog boxes. You can program for Windows in Visual C++ using the Win32 API or MFC.
  • The Win32 SDK documentation is a key developer resource for programming for Windows.
  • .NET Framework class libraries will eventually provide all the functionality exposed by Win32 and COM APIs. In the meantime, you make Win32 and COM calls from the .NET Framework code and vice-versa.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值