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

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 閱讀(368) 評論(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>
            国产一区二区三区无遮挡| 国产精品三上| 最新日韩av| 亚洲激情成人| 欧美美女喷水视频| 亚洲一区二区视频在线观看| 亚洲第一精品在线| 欧美激情一区二区三区高清视频| 一区二区三区不卡视频在线观看| 亚洲美女淫视频| 国产精品免费福利| 鲁大师成人一区二区三区| 久久伊人精品天天| 日韩亚洲一区在线播放| 国产精品99久久久久久www| 国产精品视频xxxx| 美国十次成人| 欧美色另类天堂2015| 久久精品亚洲国产奇米99| 久久永久免费| 妖精成人www高清在线观看| 在线一区二区三区四区五区| 国产亚洲电影| 亚洲人午夜精品| 国产乱肥老妇国产一区二| 麻豆精品视频| 国产精品久久7| 美女91精品| 国产精品久久久久久久一区探花| 久久久久久伊人| 欧美日韩视频在线一区二区| 久久久亚洲综合| 欧美日韩免费观看一区二区三区| 久久免费精品视频| 欧美视频一区在线| 亚洲电影免费观看高清| 国产精一区二区三区| 欧美国产亚洲另类动漫| 国产欧美日韩另类视频免费观看| 欧美成人嫩草网站| 国产欧美一区二区精品性| 亚洲精品在线免费观看视频| 黄色成人免费观看| 亚洲视频大全| 99精品视频免费观看视频| 久久久激情视频| 欧美在线一级va免费观看| 欧美日韩免费在线观看| 欧美激情国产精品| 在线电影一区| 久久国产精品一区二区| 午夜视黄欧洲亚洲| 欧美日韩一区二区三区免费看 | 国产精品一区=区| 亚洲国产一区在线观看| 激情久久婷婷| 久久女同互慰一区二区三区| 欧美一区高清| 国产精品日韩在线观看| 亚洲一区综合| 亚洲婷婷在线| 国产精品a久久久久久| 亚洲电影免费在线观看| 亚洲大胆美女视频| 亚洲欧美一区二区在线观看| 亚洲欧美一区二区激情| 欧美性理论片在线观看片免费| 亚洲国产日韩精品| 91久久精品国产91久久| 免费久久精品视频| 欧美国产一区二区| 亚洲精品免费在线观看| 欧美高清视频一二三区| 亚洲激情电影中文字幕| 亚洲精品乱码久久久久久黑人 | 在线视频日韩| 亚洲欧美在线视频观看| 国产毛片精品国产一区二区三区| 亚洲男人第一av网站| 久久国产免费| 在线欧美三区| 欧美日韩爆操| 亚洲一区二区在| 久久久国产精品一区| 激情久久久久久久| 欧美成人福利视频| 这里只有精品电影| 久久九九精品| 亚洲高清资源| 国产精品对白刺激久久久| 亚洲视频国产视频| 久久另类ts人妖一区二区| 亚洲激情视频| 国产精品久久久久av免费| 午夜精品美女久久久久av福利| 久久亚洲不卡| 日韩一级欧洲| 韩国av一区二区三区| 欧美承认网站| 亚洲资源在线观看| 欧美成人蜜桃| 欧美一区二区三区免费视频| 在线观看亚洲| 国产精品丝袜xxxxxxx| 久久综合激情| 亚洲欧洲av一区二区三区久久| 久久资源在线| 亚洲欧美日韩国产综合在线 | 国产一区久久| 欧美日韩国产精品| 久久精品视频免费| 亚洲午夜精品| 亚洲国产91| 久久免费视频一区| 亚洲一区二区三区高清不卡| 亚洲第一视频网站| 国产精品视频xxxx| 欧美精品在线一区二区| 久久久免费精品| 亚洲综合视频一区| 亚洲伦理精品| 亚洲韩国精品一区| 欧美 日韩 国产 一区| 欧美伊人久久大香线蕉综合69| 亚洲久久一区| 伊人久久久大香线蕉综合直播 | 国产精品久久国产三级国电话系列| 久久久精品日韩欧美| 香蕉久久夜色精品国产| 亚洲天堂成人| 中文在线资源观看视频网站免费不卡| 欧美大片在线观看一区| 久久国产精品毛片| 亚洲欧美日韩系列| 99re热这里只有精品视频| 影音先锋日韩精品| 国产在线日韩| 国产欧美日韩亚洲精品| 国产精品久久久久久av下载红粉| 久久综合色一综合色88| 久久视频精品在线| 久久久久久久综合色一本| 久久av一区二区三区漫画| 欧美一区二区三区在线播放| 亚洲小说欧美另类婷婷| 一本一本久久a久久精品综合麻豆 一本一本久久a久久精品牛牛影视 | 黄色成人在线观看| 国产午夜精品美女毛片视频| 国产麻豆综合| 黑人一区二区| 在线日韩av永久免费观看| 在线电影一区| 亚洲精品女人| 亚洲视频欧美视频| 亚洲男同1069视频| 欧美在线你懂的| 久久综合九色99| 欧美激情女人20p| 亚洲伦理在线观看| 亚洲一二三级电影| 欧美在线播放一区| 久久久水蜜桃| 欧美裸体一区二区三区| 国产精品v日韩精品v欧美精品网站| 国产精品久久99| 国产一区二区三区四区在线观看 | 红桃视频国产一区| 亚洲国产视频直播| 一区二区三区产品免费精品久久75 | 亚洲国产高清自拍| 一区二区三区欧美在线| 亚洲欧美久久久久一区二区三区| 欧美专区18| 亚洲国产日韩欧美| 在线一区二区三区四区| 欧美一区二区大片| 欧美高清一区| 国产精品伊人日日| 亚洲精华国产欧美| 一本色道久久综合狠狠躁篇怎么玩| 亚洲欧美国产一区二区三区| 久久久久成人精品| 亚洲精品中文字幕在线观看| 香蕉av777xxx色综合一区| 欧美77777| 国产啪精品视频| 一区二区三区|亚洲午夜| 久久久久久久一区| 一区二区激情视频| 久久一区二区三区超碰国产精品| 欧美日韩在线免费观看| 黄色免费成人| 午夜久久电影网| 亚洲激情欧美| 久久亚洲综合| 国产欧美在线观看一区| 亚洲午夜精品国产| 欧美激情国产日韩| 久久久久久综合| 国产日韩欧美一区二区|