![]() |
|
#1
|
|||
|
|||
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
|
|||
|
|||
|
Did you check your project settings that you have "Win32 GUI" selected instead of "Win32 Console"
|
|
#3
|
|||
|
|||
|
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
|
|||
|
|||
|
yes 'Win32 GUI' is the same as using gcc compiler option '-mwindows'
|
|
#5
|
|||
|
|||
|
Thanks for the tip. It was an Linker option. Now everything works fine.
|
Recent GIDBlog
Observations of Iraq by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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