Thread overview
would -WA option be worked?
Jun 02, 2003
nyra
Jun 02, 2003
Nic Tiger
Jun 09, 2003
Jan Knepper
Jul 25, 2003
Greg Peet
June 02, 2003
surprised!
I used following command lines to compile a windows GUI program,
but I got a console one?

dmc -WA -cpp Main.cpp

ref to "ctg"  , if -WA option presents, DM compiles GUI program.

ps. I'm sure Main.cpp file defined WinMain correctly.

this command line  works:

dmc Main.cpp -L/su:windows



June 02, 2003
I suspect you need properly written DEF file anyway. Without it all Win32 executables are treated as console ones.

Nic Tiger.

<nyra@sohu.com> wrote in message news:bbeslq$lfo$1@digitaldaemon.com...
> surprised!
> I used following command lines to compile a windows GUI program,
> but I got a console one?
>
> dmc -WA -cpp Main.cpp
>
> ref to "ctg"  , if -WA option presents, DM compiles GUI program.
>
> ps. I'm sure Main.cpp file defined WinMain correctly.
>
> this command line  works:
>
> dmc Main.cpp -L/su:windows
>
>
>


June 09, 2003
On Mon, 2 Jun 2003 19:53:46 +0400, "Nic Tiger" <tiger7@progtech.ru> wrote:
> I suspect you need properly written DEF file anyway. Without it all Win32 executables are treated as console ones.
> 
> Nic Tiger.
> 

Is'nt that sad ?

jp



June 09, 2003
"Jean-Pierre H. Dumas" wrote:

> On Mon, 2 Jun 2003 19:53:46 +0400, "Nic Tiger" <tiger7@progtech.ru> wrote:
> > I suspect you need properly written DEF file anyway. Without it all Win32 executables are treated as console ones.
>
> Is'nt that sad ?

No, expecting that GUI is default is sad... ;-)

ManiaC++
Jan Knepper


July 25, 2003
"Jan Knepper" <jan@smartsoft.us> wrote in message news:3EE4AD3D.4B1B4D39@smartsoft.us...
> No, expecting that GUI is default is sad... ;-)

Agreed!