Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 01, 2002 How come a Dos and a Win32 window opens when I run my Win32 program? | ||||
---|---|---|---|---|
| ||||
Hi! I compiled a program written for Win32. When I run the program it opens an empty DOS window then the window I designed. How can I make it show only the Win32 window? Please help me. ThanQ, JVFF |
February 01, 2002 Re: How come a Dos and a Win32 window opens when I run my Win32 program? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Janito Vaqueiro Ferreira Filho | Use WinMain instead of main.
Add a .def file with
EXETYPE NT
SUBSYSTEM WINDOWS,4.0
Janito Vaqueiro Ferreira Filho wrote:
> Hi!
> I compiled a program written for Win32. When I run the program it
> opens an empty DOS window then the window I designed. How can I make it show
> only the Win32 window? Please help me. ThanQ,
> JVFF
|
February 02, 2002 Re: How come a Dos and a Win32 window opens when I run my Win32 program? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | Do I have to create a MyProgram.def with the text: EXETYPE NT SUBSYSTEM WINDOWS,4.0 or make a MyProgram.h with the text? Or define the values? I am new in DMC++. Please help me. "Jan Knepper" <jan@smartsoft.cc> escreveu na mensagem news:3C5AE8C5.4C9F3E4E@smartsoft.cc... > Use WinMain instead of main. > > Add a .def file with > EXETYPE NT > SUBSYSTEM WINDOWS,4.0 > > > > Janito Vaqueiro Ferreira Filho wrote: > > > Hi! > > I compiled a program written for Win32. When I run the program it > > opens an empty DOS window then the window I designed. How can I make it show > > only the Win32 window? Please help me. ThanQ, > > JVFF > |
February 02, 2002 Re: How come a Dos and a Win32 window opens when I run my Win32 program? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Janito Vaqueiro Ferreira Filho | That would be a .def file: www.digitalmars.com/ctg/ctgDefFiles.html "Janito Vaqueiro Ferreira Filho" <jvffprogramming@ieg.com.br> wrote in message news:a3faeb$qr5$1@digitaldaemon.com... > Do I have to create a MyProgram.def with the text: > > EXETYPE NT > SUBSYSTEM WINDOWS,4.0 > > or make a MyProgram.h with the text? Or define the values? I am new in DMC++. Please help me. > > > "Jan Knepper" <jan@smartsoft.cc> escreveu na mensagem news:3C5AE8C5.4C9F3E4E@smartsoft.cc... > > Use WinMain instead of main. > > > > Add a .def file with > > EXETYPE NT > > SUBSYSTEM WINDOWS,4.0 > > > > > > > > Janito Vaqueiro Ferreira Filho wrote: > > > > > Hi! > > > I compiled a program written for Win32. When I run the program > it > > > opens an empty DOS window then the window I designed. How can I make it > show > > > only the Win32 window? Please help me. ThanQ, > > > JVFF > > > > |
Copyright © 1999-2021 by the D Language Foundation