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 :
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.
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
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
>
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(
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.
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