Thread: Windows 98 api vs windows XP

  1. #1
    Shadow12345
    Guest

    Windows 98 api vs windows XP

    [stupid question]
    I have Charles Petzold's guide to the windows 98 api, this doesn't mean that I can't use it with xp right?
    [/stupid question]

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Most of the functions will still work because of backwards-compatibility , but I'm sure there are some XP specific ones at your disposale now.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    yes, the only difference is that there are new functions available in the API for XP, you can write a program to use them but if you try to run it on a Win32 platform that doesnt support that function it will error, there is a way around this so you can decide which function to call but it might be a little over your head right now.
    [Edit]
    Due not that in each release of windows that some functions becomre obsolete and replaced but are still there and available for backwards compatability.
    Last edited by xds4lx; 09-28-2002 at 06:31 PM.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    70
    If I were you I would install 98 instead of XP. I used this book
    as a reference to program my latest application and after I finished I was surprised that it didn't work well on XP. Probably stock objects or at least DEFAULT_GUI_FONT is managed in a different way in XP than it is in 98.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. XP Sucks
    By Darkman in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 01-19-2004, 07:54 PM
  3. Windows xp and networking with other windows versions
    By Stoned_Coder in forum Tech Board
    Replies: 20
    Last Post: 12-19-2003, 03:36 PM
  4. Dual Booting Win XP & Win 98
    By netboy in forum Tech Board
    Replies: 2
    Last Post: 08-18-2003, 02:29 AM
  5. Windows XP regression over time
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 12-17-2002, 10:49 AM