BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debugging NT Service App

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Native API
View previous topic :: View next topic  
Author Message
petesouthwest@hotmail.com
Guest





PostPosted: Fri Dec 16, 2005 2:42 pm    Post subject: Debugging NT Service App Reply with quote



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.

Quote:
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


Back to top
Riki Wiki
Guest





PostPosted: Sun Dec 18, 2005 7:26 pm    Post subject: Re: Debugging NT Service App Reply with quote



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>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Native API All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.