This site is no longer active and is available for archival purposes only. Registration and login is disabled.

C++


Re: C++

Postby Digby » Jun 19, 2001 @ 3:59pm

JongJungBu,<br><br>There have been drastic changes to the DirectX APIs since version 6 - especially in the graphics area.  DX8 doesn't include DDraw anymore.  D3D8 now supports a fully programmable vertex and pixel pipeline through its own shader programming language.  Cubic textures, matrix blending, environment mapping, high-order surface support... need I go on?  Read the docs from the latest DX8 SDK.  It's a free download from Microsoft's web site.<br><br>I would avoid MFC on the Pocket PC if you can.  It has its purpose but not on a handheld device.  If you're trying to port existing MFC code or libaries to the PPC, or if you are really skilled in MFC and know your way around the source code then go ahead and use it.  Otherwise you're better off using the Win32 API - especially for programming a game with realtime graphics.<br>
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Re: C++

Postby jongjungbu » Jun 19, 2001 @ 5:10pm

I see, Digby. <br>I have not been delving into DirectX or games development in Windows in while. So I was not aware of all the changes. Dang it. That changes everything...<br>As for the MFC vs. plain Win32 API, I whole-heartedly agree (as I mentioned previously about MFC better for apps than games). I really don't like to use MFC at all, but its nice to know it if yer gonna work for a company that wants to use it. As for gaming (or anything really) on the Pocket PC, I'm just stickin with the Win32 API and hope to figure out my anomalies with the GAPI when I want that speed. <Sigh>.<br>
User avatar
jongjungbu
Not JongJongBu
 
Posts: 3112
Joined: Jun 19, 2001 @ 4:22am
Location: USA


Re: C++

Postby Dan East » Jun 19, 2001 @ 7:29pm

MFC absolutely has its place with gui-intensive apps, which is what I normally develop for. As has been said, I would avoid it for games. My "top secret" :) app currently under development uses MFC.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: C++

Postby Digby » Jun 19, 2001 @ 10:00pm

Dan,<br><br>Speaking of MFC on the Pocket PC, does the Pocket PC version of the library support any of the thing specific to the platform (i.e. RichInk), or is it strictly a port from the PC implementation?<br><br>
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Re: C++

Postby Dan East » Jun 20, 2001 @ 11:32am

There isn't an MFC class for RichInk. MFC does provide access to some of the Pocket PC specific items, particularly through the CFrameWnd class for controlling the Command Bar (CCeCommandBar). MFC also provides classes for handling CE Databases. One of MFC's greatest advantages is in providing a framework for enhancing or creating new types of gui controls. That is where it makes things easier for me. Of course using C++ classes to organize your code, instead of having massive case statements and thousands of global functions, makes it much easier to maintain and understand your source.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: C++

Postby PDAFantast » Jul 2, 2001 @ 6:22am

Sorry if this has already been said in this thread, but I didn't have the self-discipline to read the whole thread: ;)<br><br>The best C++ book is "C++ Primer" by Lipmann/Lajoie.<br><br>Also, sometime in the future, when you've got some experience, get "Code Complete" by McConnell.<br><br>PDAFantast.
PDAFantast.
PDAFantast
pm Member
 
Posts: 244
Joined: Jun 27, 2001 @ 4:00pm
Location: Malmö, Sweden


Postby Jadam » Apr 10, 2002 @ 6:44am

okokko, if you wanna program games, go to gamedev.net and check out their articles sources, you can find Thinking In C++ free their volumes 1 and 2, that book is great!!. My Favorite C book though it Teach yourself C In 24 hours by Tony Zhang, the book is the best, great refrence book also!!! Ohh yah, i habe the complete Idiots guide to C++, and it... SUCKSSSSSSS, its horrible its so much worse then TCIP and TYCI24, especially towards the end of the book were the author just plain sucks!!!
User avatar
Jadam
I'm a STAR!
 
Posts: 3245
Joined: Apr 9, 2002 @ 7:24pm
Location: Stony Brook, NY


Postby refractor » Apr 10, 2002 @ 8:45am

Jadam..

Your post:
Wed Apr 10, 2002 6:44 am

The post before yours:
Mon Jul 02, 2001 6:22 am


You win the "digging up an old thread" award for today. Congratulations.

Cheers,

Refractor
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Jadam » Apr 12, 2002 @ 8:32pm

User avatar
Jadam
I'm a STAR!
 
Posts: 3245
Joined: Apr 9, 2002 @ 7:24pm
Location: Stony Brook, NY


Previous

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum