I have just finished a project on Windows. As you're not very specific, I presume by Windows API you mean what Microsoft want you to use this week. That's currently .NET. So read http://msdn2.microsoft.com/en-us/library/68td296t.aspx and about a thousand other pages off MSDN.
This isn't easy, but then again if you're using C++ I assume you're getting paid for your code so it's worthwhile.
Name:
Anonymous2008-02-21 14:07
No, I'm not interested in "Visual" C++ or any of that .NET dogshit. Just real code C or C++ code.
Name:
Anonymous2008-02-21 14:08
Drop Sepples, learn C.
Name:
Anonymous2008-02-21 14:11
The Microsoft .NET platform gives to the developper the latest cutting-edge 3-tier framework leveraging the power of virtual machine and test-driven development using managed and legacy component to create windows and fill them with text and shit while reducing TCO and time-to-market.
Name:
Anonymous2008-02-21 14:21
>>7
Boring. I just want to understand how to use the API properly to, say, make a program like mIRC or some shit like a browser or something. More vagueness to come possibly.
MASM is an assembler with associated tutorials on interfacing with win32 API. Searching for that will lead you to the win32 .hlp file mentioned in >>21. It's from Win95 era, but useful since Windows keeps a lot of backward compatibility.
Charles Petzold's book "Programming Windows 95" was ususally the first text book an API programmer bought. I don't know what the current leader is. But I know Petzold kept updating his book all the way through .NET.
Google'ing for sample code tends to lead to MFC-based programs, which is a library built on top of the Win32 API. Prosise wrote the leading book on MFC.
Doesn't anyone mind the fact that Simon Peyote Joints is from microsoft?
Name:
Anonymous2008-02-22 7:08
>>1
Read the documentation for RegisterClassEx, CreateWindowEx and WindowProc very carefully. That is the basics of creating a window and you must know how this works. Then, read up on window messages and look up sample code for a message loop. And so on.
>>34
It's stupid crap, like almost every post in this board.
And you're encouraging the little psychopath when you type, "I don't understand". PLEASE go to a non-4chan, moderated discussion board or IRC channel or newsgroup.