Re: [fpc-pascal] Invalid standard handles in Windows service mode?

2014-02-21 Thread MegaBrutal
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.

[fpc-pascal] Issue 25114 needs to be assigned

2014-02-21 Thread Daniel Gaspary
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-

Re: [fpc-pascal] Invalid standard handles in Windows service mode?

2014-02-21 Thread Michael Van Canneyt
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