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

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>
            午夜精品视频一区| 欧美成年人网站| 亚洲在线成人| 国产欧美日韩亚洲一区二区三区 | 欧美激情在线有限公司| 在线成人h网| 亚洲高清在线精品| 欧美人与性动交cc0o| 亚洲视频香蕉人妖| 亚洲在线一区| 激情欧美日韩| 日韩视频免费在线| 国产模特精品视频久久久久| 久久精品夜色噜噜亚洲aⅴ| 久久成人综合视频| 99热免费精品在线观看| 亚洲午夜激情免费视频| 国产一区二区日韩| 亚洲欧洲精品一区二区| 国产精品女主播在线观看| 久久久久久久久一区二区| 男女精品视频| 欧美在线三级| 欧美精品在线观看一区二区| 欧美中文字幕不卡| 欧美精品一区二区三区在线播放| 亚洲综合精品四区| 老牛嫩草一区二区三区日本| 一区二区三区视频在线看| 亚洲欧美欧美一区二区三区| 亚洲黄色大片| 午夜激情久久久| 亚洲美女黄网| 久久久久久久97| 午夜在线视频一区二区区别| 欧美xxx成人| 久久久久久穴| 国产精品毛片| 亚洲国产精品久久久久婷婷老年 | 欧美色图首页| 蜜桃av噜噜一区| 国产精品久久久久一区| 欧美国产日韩a欧美在线观看| 国产精自产拍久久久久久| 亚洲国产成人午夜在线一区| 国产午夜精品一区理论片飘花| 亚洲精选在线| 亚洲精品乱码久久久久久久久| 亚洲欧美精品suv| 亚洲自拍偷拍福利| 欧美日韩国产美女| 亚洲高清资源| 亚洲欧洲一区二区三区在线观看 | 久久日韩粉嫩一区二区三区| 性欧美18~19sex高清播放| 欧美日韩不卡| 亚洲精品一区久久久久久| 亚洲电影免费在线观看| 久久国产精品久久久久久| 午夜精品福利一区二区三区av| 欧美欧美天天天天操| 亚洲黄色精品| 亚洲视频视频在线| 欧美日韩一区免费| 日韩午夜电影av| 亚洲图片在线观看| 欧美伦理91i| 亚洲精品欧美极品| 在线一区欧美| 国产精品一区免费在线观看| 亚洲性感美女99在线| 午夜精品久久| 国产日韩欧美a| 久久不射网站| 欧美波霸影院| aa日韩免费精品视频一| 欧美日韩精品久久久| 一区二区三区不卡视频在线观看 | 久久午夜电影| 尤物在线观看一区| 老司机67194精品线观看| 欧美激情一区二区三区四区| 亚洲精品乱码久久久久久日本蜜臀| 你懂的视频一区二区| 亚洲精华国产欧美| 亚洲欧美日韩综合aⅴ视频| 国产精品午夜电影| 久久久蜜桃一区二区人| 亚洲国产精品黑人久久久| 日韩一级网站| 国产精品亚洲综合久久| 久久精品一区二区| 亚洲看片免费| 久久www免费人成看片高清| 激情亚洲网站| 欧美日韩精品一区二区| 午夜精品久久久99热福利| 欧美aⅴ99久久黑人专区| av不卡在线看| 红桃视频国产精品| 欧美精品一区二区三区在线播放| 一区二区三区四区五区视频| 久久久久国产精品厨房| av不卡在线| 国产视频精品网| 欧美精品亚洲| 亚洲欧美综合一区| 亚洲高清三级视频| 欧美主播一区二区三区美女 久久精品人| 国语自产精品视频在线看| 欧美激情视频一区二区三区免费| 亚洲欧美日韩一区二区三区在线观看| 蘑菇福利视频一区播放| 亚洲欧美自拍偷拍| 亚洲精品视频在线观看网站| 国产日韩三区| 欧美亚日韩国产aⅴ精品中极品| 久久夜色精品| 久久成人免费日本黄色| 一区二区欧美日韩视频| 亚洲国产精品久久久久秋霞蜜臀| 久久国产欧美精品| 亚洲免费在线播放| 一区二区电影免费在线观看| 激情一区二区三区| 国产精品羞羞答答xxdd| 欧美视频四区| 欧美欧美天天天天操| 免费视频一区二区三区在线观看| 久久激情一区| 久久精品99国产精品日本| 亚洲午夜精品久久| 99精品视频免费观看| 亚洲人成网站在线观看播放| 欧美韩日高清| 免费观看在线综合色| 久久久久国产精品一区三寸| 欧美在线播放一区| 午夜精品久久久久久久白皮肤 | 亚洲欧美日韩另类精品一区二区三区| 亚洲人成艺术| 亚洲精品国产精品久久清纯直播| 精品二区视频| 亚洲成人资源| 91久久精品www人人做人人爽| 一色屋精品亚洲香蕉网站| 国产一二精品视频| 激情视频一区二区| 亚洲国产精品va| 91久久久一线二线三线品牌| 91久久香蕉国产日韩欧美9色 | 欧美日韩一区国产| 国产精品www网站| 国产精品欧美激情| 国产一区二区丝袜高跟鞋图片| 国产一区二区三区四区| 国产一区在线观看视频| 国内精品国产成人| 亚洲国产精品va在线观看黑人 | 国产精品久久久久久久久动漫| 国产精品久久77777| 国产精品一二| 狠狠色狠狠色综合人人| 亚洲国产精品成人| 99精品热6080yy久久| 亚洲欧美国产视频| 久久久久亚洲综合| 欧美激情视频网站| av成人免费在线| 欧美中文字幕视频| 欧美va天堂| 国产精品久久9| 在线欧美福利| 亚洲你懂的在线视频| 久久久久久久综合| 亚洲欧洲一区二区天堂久久| 制服丝袜亚洲播放| 久久夜色撩人精品| 国产精品久久久久久久久免费| 国产主播精品在线| 99视频国产精品免费观看| 久久爱www久久做| 亚洲精品在线免费观看视频| 亚洲一区国产精品| 农夫在线精品视频免费观看| 国产精品久久久爽爽爽麻豆色哟哟| 狠狠色伊人亚洲综合网站色| 一本到12不卡视频在线dvd| 欧美专区在线播放| 亚洲高清视频中文字幕| 性色av一区二区三区在线观看| 欧美成人激情视频免费观看| 国产欧美日韩综合一区在线播放| 亚洲精选视频免费看| 久久久av毛片精品| 一区二区三区视频在线播放| 免费看亚洲片| 好看不卡的中文字幕| 亚洲你懂的在线视频| 亚洲国产综合91精品麻豆|