Console + window....why?

This is a discussion on Console + window....why? within the Windows Programming forums, part of the Platform Specific Boards category; i was just testing some code from the familiar online win32 tutorials from winprog and when i compile it and ...

  1. #1
    *this
    Join Date
    Mar 2005
    Posts
    498

    Console + window....why?

    i was just testing some code from the familiar online win32 tutorials from winprog and when i compile it and run it, a console window pops up blank, followed by the correct program and everything works fine, just that console window popping up. how could i get rid of it? i made sure to save the source in c.

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Ahh... I remember having this problem. In Dev-C++, if you try to make a Windows program out of a standard project template, the console window will appear. Make sure you select, "Windows Application" as your project type.

  3. #3
    *this
    Join Date
    Mar 2005
    Posts
    498
    ya dev-c++ i tried closing the IDE and then trying the EXE but the console window still came up. hmm...weird

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Sorry - I gave you the wrong solution. Read my edited post above.

  5. #5
    *this
    Join Date
    Mar 2005
    Posts
    498
    thanks

  6. #6
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    So I assume that worked, then?

  7. #7
    *this
    Join Date
    Mar 2005
    Posts
    498
    yup it did

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL Window opening with Console Window
    By carrotcake1029 in forum Windows Programming
    Replies: 2
    Last Post: 12-23-2008, 02:32 PM
  2. creating a child window
    By rakan in forum Windows Programming
    Replies: 2
    Last Post: 01-23-2007, 02:22 PM
  3. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  4. win32 apps compiled with GCC start console window!
    By Citrus538 in forum Windows Programming
    Replies: 5
    Last Post: 02-18-2002, 09:35 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21