On 24 July 2014 16:37, Michael Van Canneyt mich...@freepascal.org wrote:
On Thu, 24 Jul 2014, Juha Manninen wrote:
I think the LazDaemon package is broken at least on Windows.
Can someone else start a Windows service made with it? I cannot.
When I find some time, I will have a look at
On 07/25/2014 11:56 PM, Graeme Geldenhuys wrote:
Further comments on this. You should be able to debug the startup code
by using the same trick I use for debugging CGI applications.
Sounds like doable but feels like a nasty workaround.
If this method indeed is necessary due to the technical
On Thu, 24 Jul 2014, Juha Manninen wrote:
On Thu, Jul 24, 2014 at 4:10 PM, Virgo Pärna virgo.pa...@mail.ee wrote:
You are running that cleandir.exe -i form cmd Window? Did you start cmd
with
Run as Administrator?
Yes. Actally the service version is cleandirs.exe (with s). There
is
On Fri, Jul 25, 2014 at 9:05 AM, Michael Van Canneyt
mich...@freepascal.org wrote:
I will use now the FPC daemon class, it works.
Out of curiosity: which class is that ?
I mean the TCustomDaemon and TCustomDaemonMapper descendants as
explained in your PDF, without using LazDaemon package.
On 2014-07-25 07:18, Juha Manninen wrote:
Now, does anybody know how to debug Windows services?
tiOPF's tiLog.pas unit (and friends: tiLogToFile etc) works very well.
It can be used independently with any project.
The FPC dbugintf unit should also work, but has some issues (sometimes
missing
On Fri, 25 Jul 2014, Juha Manninen wrote:
On Fri, Jul 25, 2014 at 9:05 AM, Michael Van Canneyt
mich...@freepascal.org wrote:
I will use now the FPC daemon class, it works.
Out of curiosity: which class is that ?
I mean the TCustomDaemon and TCustomDaemonMapper descendants as
explained in
On Fri, 25 Jul 2014 09:18:01 +0300, Juha Manninen juha.mannine...@gmail.com
wrote:
On Fri, Jul 25, 2014 at 9:05 AM, Michael Van Canneyt
mich...@freepascal.org wrote:
I will use now the FPC daemon class, it works.
Out of curiosity: which class is that ?
I mean the TCustomDaemon and
On Fri, Jul 25, 2014 at 09:18:01AM +0300, Juha Manninen wrote:
Now, does anybody know how to debug Windows services?
Under Delphi GUI or gdb console Attach the debugger to the running process.
I don't know how to do from the Lazarus IDE.
--
___
On Fri, 25 Jul 2014, Marco van de Voort wrote:
On Fri, Jul 25, 2014 at 09:18:01AM +0300, Juha Manninen wrote:
Now, does anybody know how to debug Windows services?
Under Delphi GUI or gdb console Attach the debugger to the running process.
I don't know how to do from the Lazarus IDE.
On Friday, July 25, 2014, Marco van de Voort mar...@stack.nl wrote:
Under Delphi GUI or gdb console Attach the debugger to the running process.
I don't know how to do from the Lazarus IDE.
There is such option in Lazarus Run menu but it gives an error when
connecting to a running service.
--
Am 25.07.2014 14:13 schrieb Juha Manninen juha.mannine...@gmail.com:
On Friday, July 25, 2014, Marco van de Voort mar...@stack.nl wrote:
Under Delphi GUI or gdb console Attach the debugger to the running
process.
I don't know how to do from the Lazarus IDE.
There is such option in Lazarus
On 2014-07-25 07:27, Michael Van Canneyt wrote:
Usually I make the program twice: once as a normal program (to debug)
and once as a service.
I thought that was normal programming practice. :) I've always done it
like that (Windows and *nix). I think I learned that from Delphi 4 or 5
days.
I think the LazDaemon package is broken at least on Windows.
Can someone else start a Windows service made with it? I cannot.
There is an example project
C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi
that uses it. Trying to install it (cleandirs.exe -i with admin rights) fails.
Same thing
On Thu, 24 Jul 2014 15:06:53 +0300, Juha Manninen juha.mannine...@gmail.com
wrote:
I think the LazDaemon package is broken at least on Windows.
Can someone else start a Windows service made with it? I cannot.
There is an example project
C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi
On Thu, 24 Jul 2014, Juha Manninen wrote:
I think the LazDaemon package is broken at least on Windows.
Can someone else start a Windows service made with it? I cannot.
There is an example project
C:\SW\lazarus_gitsvn\examples\cleandir\cleandirs.lpi
that uses it. Trying to install it
On Thu, Jul 24, 2014 at 4:10 PM, Virgo Pärna virgo.pa...@mail.ee wrote:
You are running that cleandir.exe -i form cmd Window? Did you start cmd
with
Run as Administrator?
Yes. Actally the service version is cleandirs.exe (with s). There
is also a cmd line program cleandir.exe.
I
On Sunday 11 of November 2012 05:35:25 Andrew Brunner wrote:
Does anyone have any experience with Fedora 17 and daemons?
Under Debian, I use a script and start-stop-daemon to load my
FPC/Lazarus Daemon.
Under Fedora, there is no such start-stop-daemon command. Has anyone
had any success
Em 11-11-2012 06:04, zeljko escreveu:
On Sunday 11 of November 2012 05:35:25 Andrew Brunner wrote:
Does anyone have any experience with Fedora 17 and daemons?
Under Debian, I use a script and start-stop-daemon to load my
FPC/Lazarus Daemon.
Under Fedora, there is no such start-stop-daemon
On Mon, Apr 19, 2010 at 2:28 AM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
Check Package / Package graph. Is the package lazdaemon shown as
installed?
That was the first thing I checked. It showed installed.
Maybe you start the wrong lazarus binary?
How did you install lazarus,
I installed lazdaemon on win32 xp and created a project. It compiled just fine.
I opened the project under Ubuntu x64 and the project failed to load.
I also didn't see any menu options under New like daemon like I did
under win32. So I went into the IDE and added and rebuilt IDE under
x64. And
20 matches
Mail list logo