RE : [fpc-pascal] Windows test program

2011-06-24 Thread Carsten Bager
gt; > > -Message d'origine- > > De : fpc-pascal-boun...@lists.freepascal.org > > [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part > > de Carsten Bager > > Envoyé : vendredi 24 juin 2011 08:53 > > À : FPC-Pascal users discussions > > Objet :

RE : RE : [fpc-pascal] Windows test program

2011-06-24 Thread Ludo Brands
epascal.org > [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part > de Carsten Bager > Envoyé : vendredi 24 juin 2011 08:53 > À : FPC-Pascal users discussions > Objet : RE : [fpc-pascal] Windows test program > > > Thanks for the help. > I tried the winhello.pp.

RE : [fpc-pascal] Windows test program

2011-06-23 Thread Carsten Bager
do > > > -Message d'origine- > > De : fpc-pascal-boun...@lists.freepascal.org > > [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part > > de Ludo Brands > > Envoyé : jeudi 23 juin 2011 19:35 > > À : cars...@beas.dk; 'FPC-Pascal users discuss

RE : RE : [fpc-pascal] Windows test program

2011-06-23 Thread Ludo Brands
users discussions' > Objet : RE : [fpc-pascal] Windows test program > > > The problem is in the line > ShowWindow(Window, CmdShow); > CmdShow is SW_HIDE (0) with fpc and SW_RESTORE (9) in Delphi. > CmdShow is a variable that is initialised in system.pp from >

RE : [fpc-pascal] Windows test program

2011-06-23 Thread Ludo Brands
The problem is in the line ShowWindow(Window, CmdShow); CmdShow is SW_HIDE (0) with fpc and SW_RESTORE (9) in Delphi. CmdShow is a variable that is initialised in system.pp from the process STARTUPINFO structure. Don't know why fpc starts the process with SW_HIDE. Change the line to ShowWindow(

Re: [fpc-pascal] Windows test program

2011-06-23 Thread Flávio Etrusco
On Thu, Jun 23, 2011 at 12:35 PM, Carsten Bager wrote: > Hi > I have this test program. It compiles and runs (shows) under Delphi (5.0). > I can compile (and run it) it under FPC (2.4.4) but it does not show > anything. I can see it in > the Windows Job list -> Processes but not under Programmes.

Re: [fpc-pascal] Windows test program

2011-06-23 Thread Paul Breneman
Carsten, I have this test program. It compiles and runs (shows) under Delphi (5.0). I can compile (and run it) it under FPC (2.4.4) but it does not show anything. I can see it in the Windows Job list -> Processes but not under Programmes. Anybody have a hint. FPC has a WinHello.pp program in