Win32 API与MFC一样吗??

igod 2001-11-20 03:30:11
...全文
2135 50 打赏 收藏 转发到动态 举报
写回复
用AI写文章
50 条回复
切换为时间正序
请发表友善的回复…
发表回复
jacklondon 2001-11-26
  • 打赏
  • 举报
回复
->在 VC++中调用WIN32 API与 在VB中的调用WIN32 API在其格式上有没有什么不同??
主要是数据类型的不同,很大的不同。
比如VC 的int对应VB的long,而不是Integer
fuzzysoft 2001-11-24
  • 打赏
  • 举报
回复
I think that learning classical Windows programming is important for any Windows programmer..............................YES
igod 2001-11-24
  • 打赏
  • 举报
回复



请大家推一下这个帖子:http://www.csdn.net/expert/topic/385/385474.shtm

拜托了》》》》》》》





ljren_t 2001-11-23
  • 打赏
  • 举报
回复
就好像积木,MFC的块大一些,外型更完整一些.
WIN32的块小,但效率和灵活性更强.
zx_sanjin 2001-11-23
  • 打赏
  • 举报
回复
夸张点了吧~~~也许我是不懂~~~
chouab 2001-11-23
  • 打赏
  • 举报
回复
so beautiful article!!
bighead 2001-11-23
  • 打赏
  • 举报
回复
学API看Programming Windows95(就是Windows 程序设计),高级点看programming Application for Microsoft Windows(以前的Advanced Windows),
DX是COM形式的接口,与API(纯C)完全不同。
chinadreamer 2001-11-23
  • 打赏
  • 举报
回复
Language Options
Using C and the native APIs is not the only way to write programs for Windows 98. However, this approach offers you the best performance, the most power, and the greatest versatility in exploiting the features of Windows. Executables are relatively small and don't require external libraries to run (except for the Windows DLLs themselves, of course). Most importantly, becoming familiar with the API provides you with a deeper understanding of Windows internals, regardless of how you eventually write applications for Windows.

Although I think that learning classical Windows programming is important for any Windows programmer, I don't necessarily recommend using C and the API for every Windows application. Many programmers—particularly those doing in-house corporate programming or those who do recreational programming at home—enjoy the ease of development environments such as Microsoft Visual Basic or Borland Delphi (which incorporates an object-oriented dialect of Pascal). These environments allow a programmer to focus on the user interface of an application and associate code with user interface objects. To learn Visual Basic, you might want to consult some other Microsoft Press books, such as Learn Visual Basic Now (1996), by Michael Halvorson.

Among professional programmers—particularly those who write commercial applications—Microsoft Visual C++ with the Microsoft Foundation Class Library (MFC) has been a popular alternative in recent years. MFC encapsulates many of the messier aspects of Windows programming in a collection of C++ classes. Jeff Prosise's Programming Windows with MFC, Second Edition (Microsoft Press, 1999) provides tutorials on MFC.

Most recently, the popularity of the Internet and the World Wide Web has given a big boost to Sun Microsystems' Java, the processor-independent language inspired by C++ and incorporating a toolkit for writing graphical applications that will run on several operating system platforms. A good Microsoft Press book on Microsoft J++, Microsoft's Java development tool, is Programming Visual J++ 6.0 (1998), by Stephen R. Davis.

Obviously, there's hardly any one right way to write applications for Windows. More than anything else, the nature of the application itself should probably dictate the tools. But learning the Windows API gives you vital insights into the workings of Windows that are essential regardless of what you end up using to actually do the coding. Windows is a complex system; putting a programming layer on top of the API doesn't eliminate the complexity—it merely hides it. Sooner or later that complexity is going to jump out and bite you in the leg. Knowing the API gives you a better chance at recovery.

Any software layer on top of the native Windows API necessarily restricts you to a subset of full functionality. You might find, for example, that Visual Basic is ideal for your application except that it doesn't allow you to do one or two essential chores. In that case, you'll have to use native API calls. The API defines the universe in which we as Windows programmers exist. No approach can be more powerful or versatile than using this API directly.

MFC is particularly problematic. While it simplifies some jobs immensely (such as OLE), I often find myself wrestling with other features (such as the Document/View architecture) to get them to work as I want. MFC has not been the Windows programming panacea that many hoped for, and few people would characterize it as a model of good object-oriented design. MFC programmers benefit greatly from understanding what's going on in class definitions they use, and find themselves frequently consulting MFC source code. Understanding that source code is one of the benefits of learning the Windows API.
——《Programming Windows》
dianxian1 2001-11-23
  • 打赏
  • 举报
回复
学习
igod 2001-11-23
  • 打赏
  • 举报
回复

DX 的接口与 Win32 API 有什么不同??

iamcherrygirl 2001-11-23
  • 打赏
  • 举报
回复
inspired,chinadreamer
iamcherrygirl 2001-11-23
  • 打赏
  • 举报
回复
inspired,chinadreamer.
chDim 2001-11-22
  • 打赏
  • 举报
回复
mfc快过时了吗?
igod 2001-11-22
  • 打赏
  • 举报
回复


你的160大元是什麼貨幣呀


chinadreamer 2001-11-22
  • 打赏
  • 举报
回复
<Windows 程序设计(第5版)>,Win32 API 的权威指导,经典中的经典!
这里有英版的下载: http://bigluo.tz163.net/download/prog-windows.zip
thomas269 2001-11-22
  • 打赏
  • 举报
回复
你的160大元是什麼貨幣呀?
wing_pn 2001-11-22
  • 打赏
  • 举报
回复
Windows 程序设计,有中文版 160大元,北大出版社
igod 2001-11-22
  • 打赏
  • 举报
回复

“浮躁的人容易问:有没有中文的,我要中文的。---我不懂英文。
                      ---不懂,学呀!!”

我真的不懂英文,我也真的学了,但还是不懂,

所以我还是要中文的。。。


Nizvoo 2001-11-22
  • 打赏
  • 举报
回复
哥们,好好学吧
fly2skylee 2001-11-21
  • 打赏
  • 举报
回复
一批sb
加载更多回复(30)

16,551

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Creator Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧