Jump to content

Best way to learn Windows Programming?


Recommended Posts

I know ReactOS aims to make a Windows 2000/XP compatible OS eventually, but it is taking a while, and I understand it is a large project. I see people here like Tihiy and Xeno86do so much for hacking Win98, and I think it would be cool and fun to do. :D

However, I know nothing about Win32 programming - I just use Qt for GUIs. So what is the best way to go about it? I imagine I need to learn Win32 API and such before I have any hope of doing good work in this area.

And what would be the most helpful thing to work on? Maybe try and make Wine GDI work on Win98 and then improve it?

Maybe I'll never get anything done, but I can dream, right? :whistle::thumbup:

Edited by Noxious Ninja
Link to comment
Share on other sites


The best way to learn is doing it. Start by learning how to create a simple application with a window that closes and start evolving from there.

Btw, here are a few tips in accomplishing that first program:

  1. Register a window class with RegisterClassEx(...)
  2. Make sure the main window's class procedure calls "PostQuitMessage()" when destroyed
  3. Create the window with CreateWindowEx(...)
  4. Create a loop that keeps getting messages and dispatching them. Take a look here, there is an example in that page and some nice information.

If your compiler doesn't ship with Win32 help files (I know Delphi, C++ Builder and Borland C++ 5.0 do), you might want to keep that MSDN site in mind.

Hope this helps ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...