GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Aug-2005, 03:03
esaikku esaikku is offline
Awaiting Email Confirmation
 
Join Date: Aug 2005
Location: Helsinki, Finland
Posts: 4
esaikku is on a distinguished road
Question

Problem: Running w32 program launches command prompt?


I writed a program that renames files and has an ugly UI.
The problem is when I run the .exe, it opens an empty Command Prompt and after that it opens the program window.

How do I get rid of that?

Editor: Eclipse CDT
Compiler: MinGW
  #2  
Old 05-Aug-2005, 03:18
maprich maprich is offline
Member
 
Join Date: May 2005
Posts: 163
maprich has a spectacular aura aboutmaprich has a spectacular aura about
Did you check your project settings that you have "Win32 GUI" selected instead of "Win32 Console"
  #3  
Old 05-Aug-2005, 04:02
esaikku esaikku is offline
Awaiting Email Confirmation
 
Join Date: Aug 2005
Location: Helsinki, Finland
Posts: 4
esaikku is on a distinguished road
I didn't find that setting in Eclipse CDT Project settings. Dev-C++ has that setting.

Can anyone tell what that setting does. So I can fix it manually. It's propably some Compiler option or etc. but I checked those too from GCC manual and didn't find anything related to that.
  #4  
Old 05-Aug-2005, 04:15
maprich maprich is offline
Member
 
Join Date: May 2005
Posts: 163
maprich has a spectacular aura aboutmaprich has a spectacular aura about
yes 'Win32 GUI' is the same as using gcc compiler option '-mwindows'
  #5  
Old 05-Aug-2005, 04:30
esaikku esaikku is offline
Awaiting Email Confirmation
 
Join Date: Aug 2005
Location: Helsinki, Finland
Posts: 4
esaikku is on a distinguished road
Thanks for the tip. It was an Linker option. Now everything works fine.
 
 

Recent GIDBlogObservations of Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Airport Log program using 3D linked List : problem reading from file batrsau C Programming Language 11 29-Feb-2008 07:44
running medial player within a c++ program shvalb MS Visual C++ / MFC Forum 0 15-Jul-2005 08:06
Problem with program breggo C++ Forum 3 08-Jun-2005 13:51
ok i got my i/o stream program running and almost done... Chris In VA C++ Forum 2 10-Mar-2005 09:00
problem with the program under Borland awmp-jansen C Programming Language 3 01-Jul-2004 17:05

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 22:56.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.