Results 1 to 4 of 4

Thread: DOS Console in Win32

  1. #1

    Thread Starter
    Addicted Member Osiris's Avatar
    Join Date
    Oct 2000
    Location
    Dimension Hole
    Posts
    142

    Question DOS Console in Win32

    Hey,
    I dont know if this has been posted in here before...

    I would like to show a dos console window in my
    Win32 Application but I don't have the slightest clue in how
    to go about it... any ideas?

    what i want to do is have a console window appear and ask
    the user some questions, then after thats done, Show a Window
    using Win32 Programming...
    ؊Ϯϊ

  2. #2
    Addicted Member ChuckB's Avatar
    Join Date
    Jul 2002
    Location
    South Carolina, USA
    Posts
    157
    Hi,
    I use Dev-C++ IDE for my programming. When I create a project, I get this DOS Window by default. I have to check a box so I will not get it. I use this DOS Window/Console to display some info before using OpenGL to render some 3D stuff.

    In VC++, I can create a Win32 Console Application and I get this DOS Window.

    Regards,
    ChuckB
    I learn Robotics, Electronics and Game Programming at http://www.gameinstitute.com

  3. #3

    Thread Starter
    Addicted Member Osiris's Avatar
    Join Date
    Oct 2000
    Location
    Dimension Hole
    Posts
    142
    Thanks ChuckB for your reply...
    So, instead of making a Win32 Application, I should make a
    Win32 Console Application? And will I be able to Create a Window
    in this project as well?
    I use VC++ by the way.
    ؊Ϯϊ

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can create a window. But if you go for normal win app you can use AllocConsole to create a console window.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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