Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Ivor Horton's Beginning Visual C++ 2005
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 21st, 2007, 06:02 PM
Authorized User
Points: 174, Level: 3
Points: 174, Level: 3 Points: 174, Level: 3 Points: 174, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Dec 2006
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 11 WINAPI or CALLBACK in WindowProc

I was a little confused in the WindowProc() header.

Should it be,
as on page 633 at top of page

LRESULT WINAPI WindowProc(.....
as on pages 636, 637


  #2 (permalink)  
Old May 27th, 2007, 03:56 PM
Registered User
Join Date: May 2007
Location: , CA, .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

I don't fully understand everything I am reading in this book. Maybe this is an error that has not been added to the Errata sheet. You can submit an error via an errata form ( https://hub.wiley.com/community/support/wrox )and the author or his people will attempt to verify the error and add it to the errata sheet.

hope this helps

Last edited by jminatel; May 18th, 2016 at 03:37 PM.. Reason: new Wrox support URL https://hub.wiley.com/community/support/wrox
  #3 (permalink)  
Old July 18th, 2007, 02:44 PM
Authorized User
Join Date: Feb 2007
Location: , , United Kingdom.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Brian,

If you've had a go at Ex11_01 you'll probably have the code available inside Visual Studio. If you right-click on WINAPI and select 'Go to definition' it will bring up 'windef.h'.

In here you can see that if you are compiling on a Windows system, as opposed to a Mac or something else, WINAPI is defined as '__stdcall'. Directly above it you can see that CALLBACK is defined as exactly the same thing.

So it shouldn't make any difference to the compilation process. If you're supposed to use one or the other for code readability purposes I couldn't tell you.

Hope this is helpful.



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 11 figure 11-7 relative positioning pelopito BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 November 29th, 2007 06:11 AM
Chapter 11: kiley-s BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 10 March 8th, 2007 08:19 PM
Chapter 11 zaidqais Visual Basic 2005 Basics 0 June 2nd, 2006 04:09 AM

All times are GMT -4. The time now is 11:48 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.