Results 1 to 19 of 19

Thread: Should I start Windows programming?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Question

    I've gotten comfortable with console programming lately. I have learned classes (finally ) Do you think I should go onto windows programming? If so can you give me some tutorials (other than winprog.org) or lead me in the right direction? Thanks guys!

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    The Platform SDK is definitely required to do any Windows programming

    Here's a couple of examples based on the PSDK:

    http://www.parksie.net/Raw.zip
    http://www.parksie.net/RawDlg.zip

    I tried to comment them nicely

    If you read the PSDK carefully then it's not overly difficult, you just need to understand Windows' message model.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Also try this very good tutorial

    http://www.winprog.org/tutorial
    Last edited by Vlatko; Feb 11th, 2001 at 04:44 PM.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    And Vlatko walks straight into that one...
    He said other than winprog.org

    Hehehehe.......not a problem, though
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    hehehe...thanks guys! I'll take a look into that parksie!

  6. #6
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148

    Smile

    Let me add my 2 cents.... if you want to do Windows programming, you probably should also learn MFC. There are plenty of good MFC books out there.

    Happy programming!

    substring.

  7. #7
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    So, classes are enough to go into windows programming? That sounds good, because thats about where i am at!

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  8. #8
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Well, I recommend you to not touch MFC if you want to use C++ what it's designed for... fast / small.

    If you use MFC you might as well use VB

    Ofcourse this is my opinion, and I agree it can be handy for RAD (is it called like that? Rapid Application Development), but I think it exploits C++, this is in contradiction with the whole idea of C++
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  9. #9
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Yeah I agree with Jop here, keep off the MFC for a while, until you know about how Windows works at least. Windows messages, the message loop (or message pump as some call it), that kinda thing.

    I see MFC as being somewhere between pure C++ with APIs and VB in terms of low-level/high-level programming. I think you have to acknowledge that MFC has a place somewhere below VB, since it is inherantly lower level by using C++ as the cement between the objects, so some more/different things are possible more easily, but it is really sacrificing a lot of the fundamental benefits of C++ - speed and size.

    So, it's got a niche IMO, but it's not one I'm particularly interested in (not at the moment anyway), I'd rather stick to C++ with API.
    Harry.

    "From one thing, know ten thousand things."

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Thanks for all of this input! I don't intend on looking into MFC. It looks like a shortcut out of doing the dirty work. Its better to get it over with and learn the API windows stuff first So thanks Parksie I'll look over those files, and...thats it

    (I'm not going to close this post in case someone has anything to add)

  11. #11
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Just wanted to throw my .02 cents in, I just learned my first C++ Program, "Hello World", wooohh..I'm at the beginning of my long journey...

  12. #12
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148

    Smile

    Lethal,

    Well, you got to start somewhere. Just to let you know that it is going to be a bumpy road. Hang in there and the reward will be tremendous.

    Happy programming!

    substring.

  13. #13
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    And what can probably be one of the most useful pieces of advice...someone (my dad ) told me that when you use strings, it's a lot easier if you ALWAYS mentally treat them as arrays rather than strings -- it stops you getting totally confused
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  14. #14
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Thanks for the advice fellas, If i have any questions I know who to turn to.

  15. #15
    Fanatic Member invitro's Avatar
    Join Date
    Jan 2000
    Location
    Outside your window
    Posts
    547
    Then I'm kicking ur butt Lethal, I just figured out how to use variables and use the cout statement!
    LOL!
    jk

    Hey, how about someone answer my color question now?

    Thanks!
    ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet?

  16. #16
    Member
    Join Date
    Jan 2001
    Location
    Washington, USA
    Posts
    61

    check out this book

    Programming Windows, The Definitive Guide to the Win32 API
    by Charles Petzold


    Samwise Galenorn
    [email protected]

  17. #17

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Will-do...thanks

  18. #18
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    hermm...

    just because I want to be different I say "Screw windows programming!"

    What would be really sweet would be to develop some GNOME applications (and the like) for Linux!

    l8r

  19. #19
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Check out a good book on CORBA then
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width