www.digitalmars.com         C & C++   DMDScript  

c++.windows - console window

reply DMC Newbie <DMC_member pathlink.com> writes:
Hello,

I abundantly apologise as I'm sure this question has already been answered many
times (although I couldn't find the answer in the FAQ or elsewhere), but I just
acquired DMC and I can't manage to get rid of the console window that appears
behind the the main window when I execute a newly compiled program.

What is the proper switch to use to generate a completely graphical app?

My background is Java orientated so forgive my ignorance...
Many thanks!
Dec 23 2002
parent "Walter" <walter digitalmars.com> writes:
You'll need to create a module definition file with the line
    exetype windows
in it. Otherwise, the exe file gets flagged as being a console app, and
win32 creates a console window for it.

"DMC Newbie" <DMC_member pathlink.com> wrote in message
news:au75l6$36c$1 digitaldaemon.com...
 Hello,

 I abundantly apologise as I'm sure this question has already been answered
many
 times (although I couldn't find the answer in the FAQ or elsewhere), but I
just
 acquired DMC and I can't manage to get rid of the console window that
appears
 behind the the main window when I execute a newly compiled program.

 What is the proper switch to use to generate a completely graphical app?

 My background is Java orientated so forgive my ignorance...
 Many thanks!
Dec 23 2002