Thread: Console + window....why?

  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
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    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
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Sorry - I gave you the wrong solution. Read my edited post above.

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

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    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, 03:32 PM
  2. creating a child window
    By rakan in forum Windows Programming
    Replies: 2
    Last Post: 01-23-2007, 03:22 PM
  3. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 11:06 AM
  4. win32 apps compiled with GCC start console window!
    By Citrus538 in forum Windows Programming
    Replies: 5
    Last Post: 02-18-2002, 10:35 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM