MSFN Forum: Best way to learn Windows Programming? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Best way to learn Windows Programming? Rate Topic: -----

#1 User is offline   Noxious Ninja 

  • Group: Members
  • Posts: 9
  • Joined: 02-October 04

Posted 16 March 2008 - 07:40 PM

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:

This post has been edited by Noxious Ninja: 16 March 2008 - 07:44 PM



#2 User is offline   alexanrs 

  • Member
  • PipPip
  • Group: Members
  • Posts: 149
  • Joined: 30-August 05

Posted 16 March 2008 - 08:04 PM

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:
  • Register a window class with RegisterClassEx(...)
  • Make sure the main window's class procedure calls "PostQuitMessage()" when destroyed
  • Create the window with CreateWindowEx(...)
  • 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 ;)

#3 User is offline   Noxious Ninja 

  • Group: Members
  • Posts: 9
  • Joined: 02-October 04

Posted 17 March 2008 - 06:49 AM

I'm going through this: http://winprog.org/tutorial/. I figure it's a pretty good start.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy