Page 1 of 2

the book POCKET PC GAME PROGRAMMING USING WINDOWS CE

PostPosted: Jun 24, 2002 @ 9:32pm
by UMCP_matt

PostPosted: Jun 24, 2002 @ 9:45pm
by R0B
I own it, and use it as a refrence, but the author doesn't incorperate enough gapi into the library. He let's windows GDI handle it, which is a huge bottle neck. As for your problem, there are accounts of the source on the cd being inaccurate, but the code in the book being correct. Make sure you compare the 2 if you are not coding it yourself.

I am running it right from the CD

PostPosted: Jun 24, 2002 @ 10:04pm
by UMCP_matt
in chp7/project01

The text shows ok but the objects that shoudl be moving are not there

another general question.. how come sometimes a program gives exceptions when running in debug mode but run fine in release mode?

figured it out.. author put updatewindow() in wrong place

PostPosted: Jun 25, 2002 @ 12:11am
by UMCP_matt

I am running it right from the CD

PostPosted: Jun 25, 2002 @ 1:28am
by R0B

PostPosted: Jun 25, 2002 @ 1:37am
by Digby

PostPosted: Jun 25, 2002 @ 1:40am
by James S
That source only seems to open a full screen window and update it, it doesn't load or create any images unless I missed something. I don't think that does anything other than create a blank full screen window :/, just initializing the game library (hence the name of the function). You need something more than that.

The author of that book likes to put tiny mistakes (intentionally or unintentially) to catch users into reading the code and thinking for themselves. Be sure you look over the code always.

Oh, and next time you paste code on these forums please use the [ code ] and [/ code ] tags, no spaces. Or just click the button that says "Code" on the reply page above the font size selection.

PostPosted: Jun 25, 2002 @ 1:53am
by R0B

PostPosted: Jun 25, 2002 @ 2:04am
by Digby

PostPosted: Jun 25, 2002 @ 2:12am
by R0B

PostPosted: Jun 25, 2002 @ 3:33am
by Guest

PostPosted: Jun 25, 2002 @ 3:39am
by R0B

the clip of code

PostPosted: Jun 25, 2002 @ 7:55pm
by UMCP_matt

PostPosted: Jun 25, 2002 @ 10:57pm
by Digby

PostPosted: Jun 26, 2002 @ 2:18am
by R0B