Thread: Learning Windows programming

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    43

    Learning Windows programming

    Hi, I wish to port my Win32 Console app to a Win32 GUI app. However, I'm a complete noob at this...

    Is there a free compiler out there with a resource editor to aid me?

    Also, is there any good, free tutorials that teaches beginners like me Windows programming?

  2. #2
    Registered User
    Join Date
    Dec 2002
    Posts
    56
    These websites seem to be pretty popular..

    http://www.winprog.net/

    If you wanna drop some cash, check out "Programming Windows 5th Edition"

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    43
    What about IDEs with resource editor? Is there any good one that's free?

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    rEtaRD r HUMANS TOO !!! rEtard's Avatar
    Join Date
    Feb 2005
    Posts
    80
    You could try this for more examples - http://www.functionx.com/win32/index.htm
    Definitely you would need the API - http://msdn.microsoft.com/library/de..._reference.asp
    The best editor i used is Microsoft visual C++ 6.0, save up for it. It beats the free softwares with lots of good reasons.
    /* Have a nice day */

  6. #6
    Registered User
    Join Date
    Nov 2002
    Posts
    43
    Quote Originally Posted by Stoned_Coder
    I use Dev-C++ right now, but I can't find any resource editor

  7. #7
    Registered User
    Join Date
    Nov 2002
    Posts
    43
    I found a resource editor, but it seems that the tutorials from WinProg.net doesn;'t work with Dev-C++... I get lots of syntax errors in the resource file.

    Is there any tutorial that uses Dev-C to teach?

  8. #8
    Registered User
    Join Date
    Nov 2002
    Posts
    43
    May I know where can I get the resource.h file? My resource editor only creates the RC files.

  9. #9
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    Quote Originally Posted by trenzterra
    What about IDEs with resource editor? Is there any good one that's free?
    Check out wx-devcpp. It is an extension of Dev-C++. It comes with a visual resource editor and uses wxWidgets.

    The URL is:
    http://wxdsgn.sourceforge.net/

    Best Regards,
    Yeoh

  10. #10
    Registered User
    Join Date
    Jul 2004
    Posts
    35
    Resource Builder is a quite good resource editor, but it is not free.

    ResEd version 1.1.1.0 is also a quite good one, and besides it is free, but instead of using constants like WS_CHILD, etc. it uses the corresponding numbers. In my opinion it is an important drawback because later if it's needed it is very difficult to re-edit the .rc file with a text editor.

    And finally, some time ago I've tried XN Resource Editor and it seemed good to me. Now I don't remember if there were important drawbacks.

    By the way, I think these links are very useful:

    Some Windows Programming Articles
    Win32 Code Tips
    Sysinternals
    Win32 Tips and Tricks

    and in general:

    Free Programming Resources

  11. #11
    Registered User
    Join Date
    Nov 2002
    Posts
    43
    Quote Originally Posted by yeohhs
    Check out wx-devcpp. It is an extension of Dev-C++. It comes with a visual resource editor and uses wxWidgets.

    The URL is:
    http://wxdsgn.sourceforge.net/

    Best Regards,
    Yeoh
    Thanks for that link... I am trying it out. However, why is the output file so big?

  12. #12
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    Yes, the exe file is huge.

    Here's a URL that provides more information:
    http://www.solidsteel.nl/users/wxwid...opic.php?t=736

    Best Regards,
    Yeoh
    --

  13. #13
    Registered User eth0's Avatar
    Join Date
    Dec 2003
    Posts
    164
    Check out wx-devcpp. It is an extension of Dev-C++. It comes with a visual resource editor and uses wxWidgets.
    The URL is:
    http://wxdsgn.sourceforge.net/
    trenzterra, you should be aware that the files produced by wx-Devcpp will be different than that of the MSVC resource editor.

    wxWidgets is a completley different way of building a GUI and it will not be MS compatable.
    Open source isn't a matter of life or death......
    .......its much more important than that!!


    SuSE Linux - GCC 3.4.2
    XP Pro - Visual Studio 2005 TS, MinGW 3.4.2

  14. #14
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    Quote Originally Posted by eth0
    trenzterra, you should be aware that the files produced by wx-Devcpp will be different than that of the MSVC resource editor.

    wxWidgets is a completley different way of building a GUI and it will not be MS compatable.
    Yes, this is correct. If you want to code Windows programs using the Win32 C API and standard resource (.rc) files, you might want to check out Pelles C. It is free. Pelles C comes with a visual resource editor.

    The URL for Pelles C is:
    http://www.smorgasbordet.com/pellesc/


    Best Regards,
    Yeoh
    --
    Last edited by yeohhs; 05-05-2005 at 03:34 AM.

  15. #15
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    For Win32 API Tutorial, check out:
    http://www.winprog.org/tutorial/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. LoadFromFile() causes Windows 98 to freeze?
    By MidnightlyCoder in forum Windows Programming
    Replies: 8
    Last Post: 03-17-2006, 02:23 PM
  2. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  3. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM
  4. Looking for good beginner tutorials in learning windows api
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 10-30-2001, 06:42 AM