n00b needs help hiding the black box

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Nov 2004
Posts: 6
Reputation: dj_saxy is an unknown quantity at this point 
Solved Threads: 0
dj_saxy's Avatar
dj_saxy dj_saxy is offline Offline
Newbie Poster

n00b needs help hiding the black box

 
0
  #1
Jan 16th, 2005
Hi i'm new to c++. I can sort of make simple programs, but everytime i try to making a program with a GUI the black windows box keeps coming up and sitting in the background.

Does anyone know how to get rid of it?

I've found some snippets on other websites, but they don't seem to work. I'm using DEV C++, is it something to do with how i'm compiling it??

Thanks,
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,972
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 920
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: n00b needs help hiding the black box

 
0
  #2
Jan 16th, 2005
Are you sure you are running this project as a Windows Application?
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6
Reputation: dj_saxy is an unknown quantity at this point 
Solved Threads: 0
dj_saxy's Avatar
dj_saxy dj_saxy is offline Offline
Newbie Poster

Re: n00b needs help hiding the black box

 
0
  #3
Jan 16th, 2005
Yes i'm compiling it as an .exe and it it runs fine. It just has a cmd-style window in the background. Do you know how i can get rid of it?
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,603
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 713
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: n00b needs help hiding the black box

 
0
  #4
Jan 16th, 2005
>Yes i'm compiling it as an .exe and it it runs fine.
That doesn't answer the question. When you create a project in Dev-C++ you can choose a Win32 application or a Console application. You chose a console application, which automatically spawns a command prompt window for running the program. A Win32 application does not.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6
Reputation: dj_saxy is an unknown quantity at this point 
Solved Threads: 0
dj_saxy's Avatar
dj_saxy dj_saxy is offline Offline
Newbie Poster

Re: n00b needs help hiding the black box

 
0
  #5
Jan 16th, 2005
Ah ha that would be where my problem is then!! Sorry, just a n00b being retarded!!

Thanks
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC