Thread: Windows app without console

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    1

    Windows app without console

    Hi, I'm new to win32 and I wanted to know how you could create a windows program without the console window showing up as well.

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    http://www.functionx.com/win32/Lesson01.htm

    Link has pictures for creating a Win32 application with Borland and MSVC++ compilers. But seeing as you didn't specify your compiler/IDE, we really don't know how to help you, however it is normally pretty self explanitory with whatever IDE you may be using

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Slovenia, Europe
    Posts
    115
    Here's another good tutorial...
    [C++]
    IDE: DevC++ 4.9.9.2 (GCC 3.4.2)
    2nd compiler: g++ (GCC 3.4.3/4.0.0)
    3rd compiler: Borland 5.5
    [C#]
    IDE: Microsoft Visual C# Express 2005
    2nd IDE: SharpDevelop
    2nd compiler: csc in Command Prompt
    .NET Framework: 2.0
    [PHP]
    Core: 5.1.0 beta 3
    IDE: PHPEdit
    2nd IDE: Notepad
    Favourite extensions: exif,gd2,mysql
    Favourite PEAR packages: DB, XML_RSS, ID3
    Favourite databases: SQLite, MySQL

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I also had the same problem when I first started programing, that can be fixed by setting your project settings from "Console Application" to "Windows Application".
    In Dev-C++: Project->Project Options.

  5. #5
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    Visual C++: Add /SUBSYSTEM:WINDOWS to the linker options.

    Dev-C++: Add -mwindows to the linker options.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  2. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM
  3. Console App minimized into system tray
    By Liam Battle in forum C++ Programming
    Replies: 3
    Last Post: 05-12-2002, 01:29 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. console to windows
    By itld in forum Windows Programming
    Replies: 2
    Last Post: 01-12-2002, 01:48 AM