8

What are some good websites for Win32 SDK programming tutorials?

unwind
  • 378,987
  • 63
  • 458
  • 590
kumar
  • 1,097
  • 12
  • 34
  • 58

9 Answers9

13

The generally accepted bible for Win32 is the Petzold book:

http://www.amazon.com/Programming-Windows%C2%AE-Fifth-Microsoft/dp/157231995X

It's not online, but worth purchasing if you're serious about Win32, IMHO.

William Leara
  • 10,447
  • 3
  • 35
  • 58
  • 1
    In my experience most of the MSDN docs assume you've read Petzold already, even for .NET framework. For example, a lot of the documentation on threads in .NET assumes you understand how they worked in Win32; without Petzold, I would have been utterly lost. If you look around, you can get used copies really cheap. And he's a great writer. – J. Polfer Jun 04 '09 at 05:32
  • 2
    Note that Mr. Petzold has released a 6th edition, but the 6th edition has removed the content related to Win32. (Win32 hasn't changed, anyway) So, you'll need to get a hold of the 5th edition, NOT the 6th edition. – William Leara Feb 17 '13 at 16:32
9

The best online tutorial with regards to native Win32 programming would have to be The Forger's Win32 API tutorial.

John T
  • 23,207
  • 11
  • 54
  • 82
2

Absolutely Programming Windows, 5th edition by Charles Petzold.

Jérôme Verstrynge
  • 55,046
  • 88
  • 271
  • 437
rocky802
  • 131
  • 1
  • 6
2

This is my favorite: Win32 Programming by Rector & Newcomer It is massive and goes through all the basic concepts down to the nuts and bolts about Win32 programming.

BTW: Newcomer has a website also with examples (although more related to MFC) here

AndersK
  • 34,991
  • 6
  • 57
  • 84
1

Autohotkey source code: http://www.autohotkey.com/download/

Naveen
  • 5,702
  • 5
  • 28
  • 37
1

If you really need a simple starter that will guide you through the basics. You can read "Windows Programming from the Ground Up" by Herbert Schildt. It will be a good forerunner to Charles Petzold. I read Herb Schildt first and then Charles Petzold, and I really was able to understand what Petzold was talking very easily.

Prabhu R
  • 13,218
  • 21
  • 76
  • 112
  • 1
    While old, stuff like this: has made at least me very weary of Schildt. Just thought I'd mention it. – unwind Jun 04 '09 at 06:38
1

Yes, Petzold book (98), Richter book (4), Win32 group for undocumented apis and Windows source code (wine, etc), and Russinovich book also..

0

You can find all the references and getting started tutorials for Win32 SDK programming at MSDN.

Searock
  • 5,828
  • 9
  • 59
  • 97
0

Avoid tutorials (by kids for kids)
Read the Petzold + Richter + Adv. Win32 Group (news://nntp.aioe.org/comp.os.ms-windows.programmer.win32)

And avoid Newcomer (newbie in Win32, knows MFC only...)