www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.windows.32-bits - how to remove console from win32 app?

↑ ↓ ← m.s.o. <m.s.o._member pathlink.com> writes:
Hi:
I wrote a small win32 GUI-bassed application, but I can not remove the msdos
console that is launched when I doubleclick on the program (the program is
executed correctly, but that ugly black window also comes up!)
Does somebody know how to compile it? (I'm using dmc command line compiler, I
tried -WA switch but didn't work)

Thanks...
Sep 11 2003
↑ ↓ → "Walter" <walter digitalmars.com> writes:
Try using the linker switch /exetype:windows. Also, make sure your program
does not have a main(), which is only for console programs.

"m.s.o." <m.s.o._member pathlink.com> wrote in message
news:bjqbn1$b53$1 digitaldaemon.com...
 Hi:
 I wrote a small win32 GUI-bassed application, but I can not remove the

 console that is launched when I doubleclick on the program (the program is
 executed correctly, but that ugly black window also comes up!)
 Does somebody know how to compile it? (I'm using dmc command line

 tried -WA switch but didn't work)

 Thanks...

Sep 11 2003