Thread: Win32 Programming

  1. #1
    Registered User GreenCherry's Avatar
    Join Date
    Mar 2002
    Posts
    65

    Win32 Programming

    I am an intermiade programmer with C++ Win32 Console Apps and I was wondering where I should go. What could Allegro do for me? If someone could fill me in on the ways it works I would appereciate it. I also want to know what the point of Win32 programming is if it takes forever to make a simple program.
    Last edited by GreenCherry; 11-05-2002 at 10:08 AM.
    I have a rabbit in my pants! Please be happy for me.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121
    Programming with windows (a message based architecture) has a lot of advantages over simple console style apps. Just look at the browser you're currently using, it would be practically impossible to do something like that in console mode with a command line interface. True most simple programs do take longer to program in Win32 API and even MFC than in a console or in DOS, and porting console programs to 'proper' windows applications would be on the most part pointless, but windows programs can go much further than that.

    As for allegro, it's a combination of libraries, which in simple terms is a bit like DirectX. It provides a way to program graphics, sound and input, primarily for games, and unlike DirectX it is portable (you can use programs made with it on BeOS or Windows with little modification). You won't need it for Windows application programming, correct me if I'm wrong on that.

  3. #3
    As I understand it, Allegro is just a shell for OPENGL and DIRECTX. When you're using Allegro it is really using calls to DirectX and OpenGL, although it is hidden from you.

    Get visual C++ and making win32 programs is much simplified, use MFC and make it more simple. You can make Win32 programs with a simple template... learn it here.

    www.gametutorials.com goto ->tutorials ->Win32
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    I recommend MFC. Even if you want more flexible than MFC offers, you will learn how MFC works and how you can improve on it via your own Win32 encapsulating classes.

    Kuphryn

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    I recommend that you ignore Allegro as you probably will not use it much. Instead, learn win32 API (which I suggest), MFC, or wxWindows. These are API's that allow you to make programs that have the pretty windows you are accustomed to seeing.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console program to Win32
    By Ducky in forum Windows Programming
    Replies: 3
    Last Post: 02-25-2008, 12:46 PM
  2. Win32 API or Win32 SDK?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 07-20-2005, 03:26 PM
  3. OLE Clipboard :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 08-11-2002, 05:57 PM
  4. Thread Synchronization :: Win32 API vs. MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-09-2002, 09:09 AM
  5. Win32 API Tutorials?
    By c++_n00b in forum C++ Programming
    Replies: 9
    Last Post: 05-09-2002, 03:51 PM