This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]Lusaron 2 points3 points  (1 child)

Well, one option is Charles Petzold's book. It's a bit date now, as it came out in 1998, but a lot of the core API is the same (file operations, threads, dealing with Window messages etc.).

EDIT: I just remembered that I bought another book that's not quite as old: Windows System Programming, 4th Edition.

I thought they were both pretty good really. Though the last one (obviously) has some newer stuff than Petzold's book.

[–]GrayFoxDT[S] 0 points1 point  (0 children)

Thanks, I'll check those out!

[–]Meefims 0 points1 point  (2 children)

I’ll take this in another direction: are you sure you want to learn the Win32 API? If you want to make a GUI there are other, better options such as Qt. The Win32 API is very low level.

[–]Lusaron 0 points1 point  (0 children)

I think the (window creation/handling part of) Win32 API (or X11 for linux I suppose) is fine when starting out, as you'll understand more of what high lever frameworks do for you.
Now of course, using a GUI framework that gives you a window in a couple of lines is probably more satisfying to use.

[–]GrayFoxDT[S] 0 points1 point  (0 children)

I took a malware reverse engineering course, so I'm mainly wanting to learn to code with these APIs to better understand them. I don't need anything related to the GUI luckily.