Thread: DOS experience 0 windows experience help

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    6

    DOS experience 0 windows experience help

    till now i have been programming C++ for Dos even withy borland 5.0. i wanna try my hand at 32 bit windows programming.
    dunno how to get startted with GUI and other stuff.

    wanna still use borland compiler.

    please help!!

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    You don't need to change compilers for what you want. Although I recommend either mingw or vc++ for windows work. For getting started with the win32 api (or mfc) you should checkout this tutorial. Another good resource is msdn.microsoft.com. It is there stuff after all.

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    317
    A very, very good book on the subject is Programming Windows Fifth Edition by Charles Petzold.

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    This is about as basic a Windows program as you can get, compile it and have a play...
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    6

    getting started

    thanx guys,


    I got started just a bit.

    Couple of Q's.

    Can I after learning the API's atlast start to write my functions to draw boxes etc like in DOS, by addressing pixels etc i.e. write my own API's??

    Secondly, I am used to include a lot of assembly in my codes will that work fine with the API fucntions?

    again thanx for getting me started

  6. #6
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    You can retrieve the state of a pixel using GetPixel() and set it with SetPixel(), so yes, you could do that, although there are many API routines which would make it easier and probably more reliable, (look the routines up in your help or MSDN).

    As for assembler, the only answer I can give is "it depends". You can certainly call API routines from assembler, but if you are using 13h type things then that will not work.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  2. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  3. real mode dos & win dos
    By scott27349 in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 08-19-2002, 06:15 AM
  4. windows dos console
    By dune911 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-16-2002, 11:30 PM
  5. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM