Thread: Quick Question

  1. #1
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209

    Quick Question

    I'm thinking of buying the book written by Petzold (Programming Windows 5th Edition).

    I see that it was written a few years back. Is it still in date?

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Yes and No. Soon we will be using WIN64 API.....

    I found it to be easy to understand and an excellent begining to programming with the WIN32 API in C. I think it is still worth the money/time.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Jun 2005
    Location
    Stockholm, Sweden
    Posts
    64
    Soon we will be using Win64 API if we are writing for the Win64 platform. Considering the fact that a _lot_ of people are still running Windows 95 or 98 I don't think Win32 API will fall out of style any time soon.

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Programming Windows 5th Edition is an essential book for understanding the concept and process of windows software development. That book will help you prepare and build a solid foundation for any future windows platforms.

    Kuphryn
    Last edited by kuphryn; 06-20-2005 at 12:26 PM.

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    In other words, it's still the Bible of WinAPI programming. So, if you're going to get one, might as well be Petzold's.

  6. #6
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    the current win32 API is backwards compatible at least back to windows 3.0.. I am sure (ok.. I am hoping) win64api will be backwards compatible with win32 (mainly because I am about 1/2 way through the 1,000+ page book )
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  7. #7
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503
    Yea it will be backwards compatible, plus just like the contructs from tchar.h allows you to use the same code for unicode/ansi, the SDK has been updated with things like int_ptr, long_ptr, that does the same thing for 32 vs 64 bit programming.

  8. #8
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    >>Considering the fact that a _lot_ of people are still running Windows 95 or 98

    IIRC Win95 is a 16 bit OS (and a pain if you have to support it).

    Most things will not change in the WIN64 API. Its just the IDE you will be using will expect a 64bit target and alloc memory accordingly. Where the differences are will break your apps.

    As it is you have to write slightly different code for 2000/XP as opposed to ME/98.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  9. #9
    Registered User
    Join Date
    Jun 2005
    Location
    Stockholm, Sweden
    Posts
    64
    This is true, I was just refuting the statement that Win32 programming would go out of style just because Win64 programming was on the move.

  10. #10
    Registered User
    Join Date
    Feb 2005
    Posts
    8
    On the subject of books. I have thought about buying 'Windows Programming' as well, but found that it didn't quite was the book I was looking for. At the moment I'm working on a SDK-Treeview Project and would want some more information on how to use these controls. Apparently Petzold covers more basic elements such as painting in forms and such.

    Does someone have a recommendation, what book I should buy? I would like to know more about the SDK-controls without using MFC.

    Manuel

  11. #11
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    As far as windows programming goes, I always recommend Petzolds Programming windows to get you started and then move onto Jeffrey Richters Programming applications for microsoft windows which goes into the more advanced stuff.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Very quick math question
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 10-26-2005, 11:05 PM
  2. very quick question.
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 07-24-2002, 03:48 AM
  3. quick question
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 07-22-2002, 04:44 AM
  4. Quick Question Regarding Pointers
    By charash in forum C++ Programming
    Replies: 4
    Last Post: 05-04-2002, 11:04 AM
  5. Quick question: exit();
    By Cheeze-It in forum C Programming
    Replies: 6
    Last Post: 08-15-2001, 05:46 PM