Customer Review

4 of 6 people found the following review helpful
3.0 out of 5 stars Warning, 17 Oct. 2007
Verified Purchase(What is this?)
This review is from: Beginning Game Programming (Paperback)
I have only just started using this book, so technically you can ignore the 3 stars, I just wanted to put a warning on for anyone getting this book. It reads fairly easily but none of the code worked properly, I did some searching online and I found the answer on some forums. If you get an error when compiling them that is similar to the error below
"error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [29]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast"
Then the solution is typed below, it worked for me, hope it works for anyone else having the same trouble. And by the way, I'm using Visual C++ 2005, people with different compilers may or may not have this trouble at all.

"Project -> Properties -> Configuration Properties -> General -> Character Set

Set that setting to Use Multi-Byte Character Set"
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

[Add comment]
Post a comment
To insert a product link use the format: [[ASIN:ASIN product-title]] (What's this?)
Amazon will display this name with all your submissions, including reviews and discussion posts. (Learn more)
Name:
Badge:
This badge will be assigned to you and will appear along with your name.
There was an error. Please try again.
Please see the full guidelines ">here.

Official Comment

As a representative of this product you can post one Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
The following name and badge will be shown with this comment:
 (edit name)
After clicking on the Post button you will be asked to create your public name, which will be shown with all your contributions.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.  Learn more
Otherwise, you can still post a regular comment on this review.

Is this your product?

If you are the author, artist, manufacturer or an official representative of this product, you can post an Official Comment on this review. It will appear immediately below the review wherever it is displayed.   Learn more
 
System timed out

We were unable to verify whether you represent the product. Please try again later, or retry now. Otherwise you can post a regular comment.

Since you previously posted an Official Comment, this comment will appear in the comment section below. You also have the option to edit your Official Comment.   Learn more
The maximum number of Official Comments have been posted. This comment will appear in the comment section below.   Learn more
Prompts for sign-in
 

Comments

Tracked by 1 customer

Sort: Oldest first | Newest first
Showing 1-2 of 2 posts in this discussion
Initial post: 9 Aug 2008 10:42:57 BDT
An update to my earlier comment.
The book is relatively easy to follow and gives you questions and tasks to do at the end of each chapter to make sure you understand what it was about.
It teaches the basics of DirectInput and DirectSound and 2d techniques such as sprites and tiling.
The end result is a 3D game of Breakout which is quite good, but thats as far as it goes. It does not teach AI or games with any enemies, just bouncing the ball against blocks and getting points, so it is a good starter book but you will be wanting more when you've finished.

Posted on 29 Sep 2011 09:04:05 BDT
capjoel says:
You realise that in the book it does tell you that.
Page 21 "Now lets resolve this error. It has to do with the character set"
So this review is quite unfair considering it dedicates about a page spread over 2 pages about how to fix this error and a bit of information about ANSI vs Unicode
‹ Previous 1 Next ›

Review Details

Item

3.7 out of 5 stars (3 customer reviews)
5 star:
 (1)
4 star:    (0)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
£31.61
Add to basket Add to wishlist
Reviewer


Top Reviewer Ranking: 6,552,068