Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8016045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:25:53+00:00 2026-06-04T20:25:53+00:00

I decided to create applications direct with Notepad + GCC Compiler (and the entire

  • 0

I decided to create applications direct with Notepad + GCC Compiler (and the entire Mingw environment).

Well I started by creating a simple Win32 application (a simple window). The file is only 4 Kb (which, with an IDE like C:B or VS is about 8 kb.

Anyway, my problem is that the window is displayed but also a window console. Well, I don’t want the console to appear but only the GUI window. I think this is achieved by creating manifest files or something like that, of which I don’t know much about, as this is the first time I am trying this. How do I tell GCC that it shouldn’t create a console window – just a GUI window?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:25:54+00:00Added an answer on June 4, 2026 at 8:25 pm

    You need to create an executable that targets the GUI subsystem rather than the console subsystem. In the MS tools the normal way to indicate that is to use a different form of main function:

    int WINAPI WinMain(HINSTANCE hThisInstance, 
                       HINSTANCE hPrevInstance, 
                       LPSTR lpszArgument, 
                       int nCmdShow)
    

    I believe that mingw supports the same convention.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I decided to create a currency converter in Java, and have it so that
I have to develop a customized tab control and decided to create it with
I'm working on a new project and for some reason decided to create two
I'm messing around with Node.js for the first time and decided to create a
I've decided to take the advice in this question: create-excel-chart-programmatically-in-php and NOT attempt to
For a project I have to create a music visualizer in java (I've decided
After trying a lot i decided to ask question on stackoverflow, I create a
I'm trying to decide whether I should create a simple StackPanel with Buttons on
I recently started C++. I am using PHP right now and decided to take
I am new to JSF 2.0 and Primefaces but have decided to create my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.