做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.
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.