Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-11

DOS box?

8 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders
to Unknown author: The launch of a lazarus application compiled for win32 target causes a DOS box call.…
Show quoted text 16 lines
On Mon, 24 Nov 2003 wrote: > > The launch of a lazarus application compiled for win32 target causes > a DOS box call. After closing the application the DOS box > disappears. Is this a known behaviour? Add {$APPTYPE GUI} to your project source, and recompile. There will be no more DOS box. If I am correct, this is on the TODO list for the Lazarus project options. Michael.

This option is already (since this weekend) implemented in the IDE. You can find it on the linking tab in the compiler options dialog. (Choose Run, Compiler Options...).

Vincent.

Reply by email

Unknown author
to Unknown author: The launch of a lazarus application compiled for win32 target causes a DOS box call.…
Show quoted text 21 lines
On Mon, 24 Nov 2003 wrote: >The launch of a lazarus application compiled for win32 target causes a >DOS box call. After closing the application the DOS box disappears. Is >this a known behaviour? Add {$APPTYPE GUI} to your project source, and recompile. There will be no more DOS box. If I am correct, this is on the TODO list for the Lazarus project options. Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Did not help 100%. With {$APPTYPE GUI} the application starts without DOS box and exits at once.

Reply by email

Unknown author

The launch of a lazarus application compiled for win32 target causes a DOS box call. After closing the application the DOS box disappears. Is this a known behaviour?

Reply by email

Vincent Snijders
to Unknown author
Show quoted text 6 lines
The launch of a lazarus application compiled for win32 target causes a DOS box call. After closing the application the DOS box disappears. Is this a known behaviour?

Yes, this is known behaviour and intended so. It give a bit of debugging information.

If it disturbes you, make lazarus with
make OPT="-WG"

The -WG option is passed to the compiler, which then makes a gui application.

Regards,
Vincent.

Reply by email

Darek Mazur
to Unknown author: The launch of a lazarus application compiled for win32 target causes a DOS box call.…

I don't know exactly but in Lazarus are many debug assertion and WRITELN('comment about')

if DOS BOX is closed application hang off (they can't write)

Darek

Earlier message 41 lines
----- Original Message ----- From: To: Sent: Monday, November 24, 2003 8:46 PM Subject: Re: [lazarus] DOS box? > wrote: > > > > On Mon, 24 Nov 2003 wrote: > > > > > >>The launch of a lazarus application compiled for win32 target causes a > >>DOS box call. After closing the application the DOS box disappears. Is > >>this a known behaviour? > > > > > > Add {$APPTYPE GUI} to your project source, and recompile. There will be no > > more DOS box. > > > > If I am correct, this is on the TODO list for the Lazarus project options. > > > > Michael. > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > > > Did not help 100%. With {$APPTYPE GUI} the application starts without > DOS box and exits at once. > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives >

Reply by email

Unknown author
to Unknown author: The launch of a lazarus application compiled for win32 target causes a DOS box call.…
Vincent Snijders wrote 27 lines
On Mon, 24 Nov 2003 19:47:41 +0100 wrote: >The launch of a lazarus application compiled for win32 target causes a > >DOS box call. After closing the application the DOS box disappears. Is > >this a known behaviour? Yes, this is known behaviour and intended so. It give a bit of debugging information. If it disturbes you, make lazarus with make OPT="-WG" The -WG option is passed to the compiler, which then makes a gui application. Regards, Vincent. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Thank's!
I forgot "-WG" in fpc.cfg!

Reply by email