🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.nativeapi
2 messages
2 total messages Started by petesouthwest Fri, 16 Dec 2005 14:42
Debugging NT Service App
#23
Author: petesouthwest
Date: Fri, 16 Dec 2005 14:42
27 lines
2033 bytes
Hi

I'm trying to debug an NT Service App that gets stuck showing the
status 'starting'.

I tried writing to a file on c: drive but that only seems to work after
someone has logged on.

>From what I could find on the net, the way to trace what is happening
is to use the windows event log.

I found a component and the demo looked easy to use and worked, so I
have tried to include this into my service.

I'm then creating an msi using installsheild x, and assigning the
service app using group policy, to a group of computers using the
computer configuration section. The service thus starts when the
machine boots, before anyone has logged on.

Unfortunately, no events seem to get logged :(

Can anyone tell me if I'm approaching this problem in the right way?
(ie using the event component) and what i need to do to log events in
my service?

I'm using Delphi 6 on windows xp, target system windows 2000
server/client network
Re: Debugging NT Service App
#24
Author: Riki Wiki
Date: Sun, 18 Dec 2005 19:26
10 lines
1117 bytes
Hoi

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question, and BTW this newsgroup
do not officially exist, use group b.p.d.nativeapi.win32.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads