Petzold's Programming Windows 95 Guide
Okay, is this book still applicable?
Petzold's Programming Windows 95 Guide
Okay, is this book still applicable?
Think out of the box! Open Source rules!
-Breach23
YES very much so.
Good for a start into the WIN32 API but lacks basic C eg Mem allocs. If you know C/C++ it will give a good start on the API.
Get a copy of the CD to try.
FYI Programming Windows 5th edtion would be better.
To Err Is To Be Human. To Game Is Divine!"
I am new to Windows programming and I purchased this book (5th Edition) about a week ago and I am loving it already. It teaches really well.
> Good for a start into the WIN32 API but lacks basic C eg Mem allocs.
This is true. I don't think it is a bad thing though. Charles Petzold says in the introduction that this book assumes three things: You have a good understanding of C (especially structs and pointers), that you know how to use Windows (the OS), and one other thing (can't quite remember). It isn't a book to teach you C, but Windows programming in C.
Well, anyway, a week after starting (6 days, actually), I've already learned to set the window class, register the window, create it, and show it. And receive messages with the window's WndProc and do the appropriate actions. I love this book!
--Garfield
1978 Silver Anniversary Corvette
But in WIN32 API you don't use malloc realloc ect.
Use GlobalAlloc(), GlobalLock(), GlobalHandle() and GlobalFree() (creating pointers or handles to mem blocks).
None of these functions are explained.
"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
> But in WIN32 API you don't use malloc realloc ect.
Why not? Allocating is allocating no matter how you put it.
--Garfield
1978 Silver Anniversary Corvette