2014-02-21 10:18 GMT+01:00 Michael Van Canneyt :
> You can check the handle of the StdOutputHandle variable. if it is invalid
> (-1), you don't have output.
>
Thanks for your reply, it helped a lot! StdOutputHandle is 24 when I start
the program on the console, and 0 when it starts as a service.
Hi,
Could someone assign the issue[1] to Sergei (Gorelkin)?
I want to fix the problem, but I need his input on the subject.
Thank you,
Daniel
[1] http://bugs.freepascal.org/view.php?id=25114#c71108
___
fpc-pascal maillist - fpc-
On Fri, 21 Feb 2014, MegaBrutal wrote:
Hi all,
I have a Windows service application, and recently I noticed it doesn't work if
I compile it with FPC 2.6.2. It can be started in
user mode too, and in that case I didn't find any problem - at first I was
really puzzled what might be the reason