青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

What are the differences between MFC and Win32 Application

MFC is basicly a library of OO wrapper classes that wrap the Win32 api, and provide objects for the basic window components (windows, buttons, checkboxes etc..). Essentially it is the win32 api objectified.

Also MFC provides some classes that resemble classes found in the STL. As MFC was made before STL was fully standardised.

My knowledge is incomplete. But that is the basic Idea.



 User Rating: 1019   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

The difference between Win32 and MFC are pretty straightforward:

The Windows API (Win32) uses a C interface to access windows functionality. It requires that you write all of your own code to manage windows and message handling. It is quite straightforward but you will need a good reference, like MSDN, and some good tutorials or samples to get started.

In contrast, MFC, which stands for Microsoft Foundation Classes, are a collection of C++ classes which encapsulate the Win32 API. MFC has some wizards which make the initial creation of a program quick and easy, but I have to admit the learning curve of MFC can sometimes be frustrating as Microsoft seems to have done everything in a way that can at times seem counter-intuitive.

Whenever I write an application I write it in MFC but I have been writing applications in MFC for a long time. If all you want is a message loop and a window handle for a game, use Win32. If you want to write a larger application like an editor, maybe MFC is the right tool.

Ideally, I would suggest skipping both Win32 and MFC and writing tools in .NET. I do not have any personal experience in it but people I work with sure can get a lot done using it. It may well be worth investigation.

Best of luck,

- S

 User Rating: 1352   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Quote:
Original post by Sphet

Whenever I write an application I write it in MFC but I have been writing applications in MFC for a long time. If all you want is a message loop and a window handle for a game, use Win32. If you want to write a larger application like an editor, maybe MFC is the right tool.

- S


I am planning to write an interactive 3D environment does that mean using WIN32 application is a better tool for it?

also is it possible to use openGL for oject creation and DirectXinput for the interactive control?
please give me some suggestion



millions of thanks

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Quote:
Original post by muimui1911
I am planning to write an interactive 3D environment does that mean using WIN32 application is a better tool for it?

For a game Win32 is usually better.
I think I have also heard that MFC doesn't work well in fullscreen.

Quote:
Original post by muimui1911
also is it possible to use openGL for oject creation and DirectXinput for the interactive control?

You can render with opengl and use directinput for input.

____________________________________________________________
Programmers Resource Central

 User Rating: 1107   |  Rate This User  Send Private MessageView ProfileView GD Showcase Entries Report this Post to a Moderator | Link

what about mouse movement like shooting games?

how can i do that, please give me some direction

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

You can use directinput for mouse movement. Or you can use GetCursorPos(POINT *p);

____________________________________________________________
Programmers Resource Central

 User Rating: 1107   |  Rate This User  Send Private MessageView ProfileView GD Showcase Entries Report this Post to a Moderator | Link

How do i use that? can you give me some example and much clearer direction

millions of thanks

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

msdn
Though if you want a camera class look here and here.

posted on 2010-06-22 11:43 lhking 閱讀(370) 評論(0)  編輯 收藏 引用


只有注冊用戶登錄后才能發(fā)表評論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


導(dǎo)航

<2010年6月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

統(tǒng)計

常用鏈接

留言簿

隨筆檔案

搜索

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久精品国产久精国产爱| 国产精品美女久久久| 国产日韩欧美成人| 亚洲男人的天堂在线| 亚洲深夜影院| 亚洲一区免费看| 美女精品视频一区| 欧美激情视频一区二区三区免费 | 久久丁香综合五月国产三级网站| 欧美成人按摩| 亚洲国产一区视频| 午夜天堂精品久久久久 | 国产精品午夜国产小视频| 午夜在线观看欧美| 久久米奇亚洲| 亚洲少妇在线| 亚洲女同精品视频| 亚洲精品一区二区三| 亚洲欧美成人一区二区三区| 国内精品久久久久久影视8| 欧美电影专区| 国内揄拍国内精品少妇国语| 欧美激情精品久久久久久变态| 欧美日韩国产成人在线| 免费不卡在线观看| 国产日产欧美一区| 中文日韩在线| 美女黄色成人网| 猫咪成人在线观看| 国产日韩亚洲| 久久se精品一区二区| 亚洲午夜电影网| 欧美日韩国产a| 99re6热只有精品免费观看| 亚洲经典三级| 欧美精品aa| 一区二区三区视频观看| 一区二区免费看| 欧美日韩国产bt| 一本大道久久a久久综合婷婷 | 国内综合精品午夜久久资源| 一区二区国产在线观看| 亚洲一级电影| 国产精品亚洲美女av网站| 性欧美超级视频| 久久深夜福利| 日韩午夜av| 一区二区免费在线播放| 亚洲在线播放| 久久精品亚洲精品| 激情六月婷婷综合| 欧美精品色综合| 亚洲一区二区免费在线| 久久精品视频一| 亚洲视频一区在线| 国产一区二区三区奇米久涩| 久久男人资源视频| 亚洲一区中文| 亚洲电影在线看| 欧美一区二区精品久久911| 在线日韩欧美| 国产精品丝袜久久久久久app | 国产精品亚洲综合久久| 免费不卡中文字幕视频| 亚洲免费小视频| 日韩午夜视频在线观看| 久久夜色精品国产| 亚洲欧美一区二区三区久久 | 欧美日本一区| 免费成人在线观看视频| 亚洲无毛电影| 亚洲精品美女| 亚洲国产婷婷| 欧美mv日韩mv国产网站app| 午夜宅男欧美| 欧美专区亚洲专区| 欧美亚洲综合另类| 欧美在线关看| 久久久久久亚洲精品杨幂换脸 | 亚洲国产中文字幕在线观看| 欧美成在线观看| 亚洲精品少妇网址| 一区二区三区回区在观看免费视频| 亚洲乱码久久| 亚洲欧美另类在线观看| 欧美在线一二三区| 久久国产一区| 欧美日韩精品久久久| 欧美精品电影在线| 国产免费亚洲高清| 亚洲韩国精品一区| 一本到高清视频免费精品| 一二三四社区欧美黄| 欧美在线1区| 亚洲国产精品久久久久秋霞蜜臀| 久久久久久久久蜜桃| 一本久久精品一区二区| 久久国产婷婷国产香蕉| 欧美午夜不卡| 亚洲三级网站| 久久成人免费视频| 日韩视频免费观看高清在线视频 | 亚洲美女视频网| 久久久久久69| 国产欧美日韩麻豆91| 亚洲人www| 毛片一区二区三区| 久久精品国产99国产精品| 欧美日韩精品是欧美日韩精品| 狠狠88综合久久久久综合网| 亚洲午夜羞羞片| 一本色道久久88综合日韩精品| 久久乐国产精品| 亚洲第一在线| 欧美大片第1页| 欧美久久久久久久久| 亚洲人成久久| 亚洲美女网站| 欧美日韩亚洲一区二区三区在线| 亚洲激情偷拍| 久久婷婷av| 欧美午夜电影网| 性亚洲最疯狂xxxx高清| 久久国产精彩视频| 国产视频自拍一区| 暖暖成人免费视频| 欧美精品国产一区二区| 亚洲一区久久| 久久一二三区| 亚洲欧美日本伦理| 女人色偷偷aa久久天堂| 亚洲伊人第一页| 久久本道综合色狠狠五月| 91久久精品视频| 欧美一区二区三区四区夜夜大片| 精品成人一区二区三区四区| 亚洲国产成人av好男人在线观看| 欧美三级乱码| 最新国产拍偷乱拍精品| 国产一区二区三区在线观看免费视频| 免费看成人av| 国产精品一区久久久久| 亚洲精品乱码久久久久久久久| 狠狠色丁香婷婷综合久久片| 亚洲美女黄色片| 亚洲精选在线观看| 久久国产主播精品| 久久久久久久综合日本| 国产精品一区久久| 亚洲色图自拍| 久久综合九色综合欧美狠狠| 欧美在线一区二区| 久久国产加勒比精品无码| 欧美日韩国产精品一卡| 亚洲人体一区| 午夜精品999| 国产伦一区二区三区色一情| 亚洲自啪免费| 亚洲一区二区精品在线| 欧美国产成人精品| 亚洲国产综合在线| 日韩午夜在线视频| 欧美日韩伊人| 亚洲男女毛片无遮挡| 久久丁香综合五月国产三级网站| 国产欧美不卡| 久久久久久尹人网香蕉| 亚洲国产高清自拍| 亚洲欧美一区二区在线观看| 国产色综合久久| 欧美日韩爆操| 久久成人免费网| 在线视频日本亚洲性| 久久久午夜视频| 日韩视频永久免费| 国产亚洲免费的视频看| 欧美高清视频一区| 亚洲永久网站| 91久久在线| 久色婷婷小香蕉久久| 亚洲欧美综合国产精品一区| 亚洲国产精品一区二区第一页 | 国产欧美一区二区精品性| 免费久久精品视频| 久久精品视频亚洲| 亚洲欧美日韩一区二区在线| 日韩视频在线观看国产| 免费成人av| 欧美福利视频| 免费在线看成人av| 男女视频一区二区| 久久在线免费| 暖暖成人免费视频| 欧美激情精品久久久六区热门| 美乳少妇欧美精品| 亚洲国产精品v| 日韩视频一区二区三区在线播放免费观看| 久久综合色影院| 亚洲二区在线观看| 日韩视频在线免费|