Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Win32 Question

  1. #1
    Intern Newbie
    Join Date
    May 2001
    Location
    Montreal, Canada
    Posts
    32

    Win32 Question

    I am using visual C++ 6.0 and win32 project. I was wondering if there is a way of opening a console window ( the one that we get with a console project ). Or a a win32 window from a console project.
    There will NEVER be both of them running at the same time... so the user decides if he wants a console window or a win32 window... Is it possible? if yes, How?

    thx a lot

  2. #2
    Intern Contributor
    Join Date
    Jun 2001
    Posts
    69

    Re: Win32 Question

    console and windows at the same time are possible (e.g. for debugging a console is handy), just create a normal console application (with main()) and then create your window (RegisterClass(), CreateWindow(), ...)

Posting Permissions

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