Can someone please point me to a good windows api tutorial? The one that i found (http://www.winprog.org/tutorial/) is nice, but it doesn't explain thing nearly enough. It kinda just drops the stuff on the person trying to "learn" it. I was able to follow through the first three sections, and then i got lost.

Please. :-| I just feel SOOO lost right now... I just want to understand... ;)

Marks, I know how you feel. I remember learning C and thinking that I knew it all. Then the Windows API programming approach comes along, and totally throws away the old procedural method with loops, callbacks, and the like. It's confusing, but eventually you get the hang of it.

The best thing I can recommend for you to do if you're truly serious is to buy yourself a good Windows programming book, and learn from that. Study the concepts, code until you've memorized the basic WinAPI code, and continue making test projects.

If you don't want to or can't buy a book, my suggestion is to keep googling until you find a tutorial at your level. One that happened to catch my eye is this one:
http://people.montana.com/~bowman/Software/winAPI.htm

Which *may* be at your level. One interesting thing it says here:

Win API programming is not an entry level task. If you are not reasonable competent in C or C++, you really need to have a basic mastery of the language.

Since you're just learning C/C++, perhaps you should slow down a little bit. Don't try to speed up learning, because it just doesn't work. ;) (Which is my argument against semester-based systems.) If you take the time, you will learn it.

Can someone please point me to a good windows api tutorial?

When it comes to the windows API, a tutorial just doesn't cut it. You want a good thick book. The good news is that such a book exists. :)

The one that i found (http://www.winprog.org/tutorial/) is nice, but it doesn't explain thing nearly enough. It kinda just drops the stuff on the person trying to "learn" it. I was able to follow through the first three sections, and then i got lost.

The first lesson when learning the windows API should be that you aren't supposed to understand everything. There are thousands of functions and types, and no single programmer is expected to know all of the details.

A basic windows program in C is about 80 lines, and nobody really cares what most of them mean because it's boilerplate that we just copy/paste and forget about. If you feel lost, you might be trying to understand unnecessary details. That could also be why the tutorial doesn't follow through on them. ;)

I really don't have a choice here... I know that learning the Windows API is a no-no when i infact don't even know C or C++ for that matter.


Holy !#$%^*&!!!!!!!! That book is expesive! $60 at barnes and noble!

I learn pretty good by example... Does anyone know of a good example site? I guess i should bite the bullet and buy a book, huh?

I have bought over $200 worth of books (not exagerating either...) in the past about programming languages, but i never used a single one of them. :( I dont like books...

I really don't have a choice here... I know that learning the Windows API is a no-no when i infact don't even know C or C++ for that matter.

Why don't you have a choice? There are certain things that will be beyond your ability, which doesn't mean you can't achieve them, but to achieve them, you'll need lots of time.

Holy !#$%^*&!!!!!!!! That book is expesive! $60 at barnes and noble!

That's nothing. :) You should see what some OpenGL books are...

Why don't you have a choice? There are certain things that will be beyond your ability, which doesn't mean you can't achieve them, but to achieve them, you'll need lots of time.

I need to learn windows programming before the end of the semester (i hope i can be done, or i am S.O.L.) I could stick with win32 council, but i think my biology teacher would panic if she couldn't figure out how to use it... :rolleyes:


Does anyone here own the book (Programming Windows by Charles Petzold fifth edition)? If so, can anyone give me some ideas of what they cover (at how much detail is given)? I am literally starting to panic...

@ Marks256

Does anyone here own the book (Programming Windows by Charles Petzold fifth edition)? If so, can anyone give me some ideas of what they cover (at how much detail is given)? I am literally starting to panic...

Check your mail box, I sent you some information about it.

thanks for your decision marks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.