Sign in Join

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

Mailing lists / lazarus / 2003-12

strange win32 executable

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to LeVA: Hi! I just wanted to ask, if it is normal, that when I run my project (compiled under…
Show quoted text 10 lines
Hi! I just wanted to ask, if it is normal, that when I run my project (compiled under linux to win32) on a windows machine, the application is started from an ms-dos command line, and the ms dos window stay opened during the program running. Is it possible to make Delphi like programs with lazarus, which can be build to a "truly" windows executable, and then no ms-dos prompt appears, when running it? I'm using fpc1.0.10, and lazarus cvs.

Run -> Compiler-Options -> Linking -> Target Specific -> Win

Mattias

Reply by email

LeVA
to LeVA: Hi! I just wanted to ask, if it is normal, that when I run my project (compiled under…

Mattias Gaertner �rta:

Show quoted text 17 lines
On Fri, 19 Dec 2003 18:32:29 +0100 LeVA wrote: >Hi! > >I just wanted to ask, if it is normal, that when I run my project >(compiled under linux to win32) on a windows machine, the application is >started from an ms-dos command line, and the ms dos window stay opened >during the program running. Is it possible to make Delphi like programs >with lazarus, which can be build to a "truly" windows executable, and >then no ms-dos prompt appears, when running it? > >I'm using fpc1.0.10, and lazarus cvs. Run -> Compiler-Options -> Linking -> Target Specific -> Win

When I build my project with this option, and run it on a win98se machine, it won't start. I don't know exactly the problem's name, because it is a hungarian win98. But you know, that little window with a 'Close', and a 'Details' button. The windows's general error popup window. Hope that you understand this :) (I couldn't, though..) Anyway, I need to use that option, because I don't want my program to display an ms-dos window, when I start it. Is there any other way to do this, or are there any updates for fpc/lazarus which will build binaries (with that Target specific option) which won't be freeze on windows?

Thanks!

Daniel

LeVA

Reply by email

LeVA

Hi!

I just wanted to ask, if it is normal, that when I run my project (compiled under linux to win32) on a windows machine, the application is started from an ms-dos command line, and the ms dos window stay opened during the program running. Is it possible to make Delphi like programs with lazarus, which can be build to a "truly" windows executable, and then no ms-dos prompt appears, when running it?

I'm using fpc1.0.10, and lazarus cvs.

Thanks!

Daniel

LeVA

Reply by email

Unknown author
to LeVA

Hi Leva,

put

{$IFDEF FPC}
   {$APPTYPE GUI}
{$ENDIF}

at your projcet file <name>.dpr.

It would help. :-)

LeVA wrote 36 lines
Mattias Gaertner �rta: > On Fri, 19 Dec 2003 18:32:29 +0100 LeVA wrote: > > >> Hi! >> >> I just wanted to ask, if it is normal, that when I run my project >> (compiled under linux to win32) on a windows machine, the application >> is started from an ms-dos command line, and the ms dos window stay >> opened during the program running. Is it possible to make Delphi like >> programs with lazarus, which can be build to a "truly" windows >> executable, and then no ms-dos prompt appears, when running it? >> >> I'm using fpc1.0.10, and lazarus cvs. > > > > Run -> Compiler-Options -> Linking -> Target Specific -> Win > When I build my project with this option, and run it on a win98se machine, it won't start. I don't know exactly the problem's name, because it is a hungarian win98. But you know, that little window with a 'Close', and a 'Details' button. The windows's general error popup window. Hope that you understand this :) (I couldn't, though..) Anyway, I need to use that option, because I don't want my program to display an ms-dos window, when I start it. Is there any other way to do this, or are there any updates for fpc/lazarus which will build binaries (with that Target specific option) which won't be freeze on windows? Thanks! Daniel

Reply by email