Teen Programmers Unite  
 

 

Return to forum top

DOS and a window

Posted by ArcticWind [send private reply] at October 28, 2001, 06:08:43 AM

Ive compiled a windows example to open a window and when i run it it opens a window and a DOS window too, the compiler is digital mars c/c++
how can i get rid of the dos window?

Posted by Psion [send private reply] at October 28, 2001, 05:19:36 PM

Make it a regular and not console Win32 program.

Posted by ArcticWind [send private reply] at October 28, 2001, 10:33:38 PM

um im kinda new to this. how do i do it?

Posted by buzgub [send private reply] at October 29, 2001, 01:31:02 AM

It varies between compilers and IDEs. If you've got a project options box of some description, it's probably in there.

Posted by ArcticWind [send private reply] at October 29, 2001, 06:44:25 AM

ok. does anyone use dmc++?

Posted by pramod [send private reply] at October 31, 2001, 12:04:34 PM

Yeah, i used to. I suppose you should put questions about dmc at their newsgroups. anyway, the idea is that you create a .def file and put something like exetype=winnt or something. i don't remember exactly what i did, but may be asking at the dmc newsgroups will help. visit www.digitalmars.com for info about the newsgroups.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.