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 

Troubles with services

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI
View previous topic :: View next topic  
Author Message
Yoda
Guest





PostPosted: Fri Mar 16, 2007 2:46 pm    Post subject: Troubles with services Reply with quote



Hello all

I have a problem implementing a service for windows 2003 with delphi.
The service raises some threads and uses sockets to get and lauch
messages to and from clients on other machines. All works well, but
after three days or so, the service halts. The service (is in debug
phase) is appending constantly lines to a log (including errors), but
no error is reported there. In the event viewer, there's a message
that tells that the service has stopped unexpectedly (event 7034).

All my code is wrapped with try .. catch sentences (if an excepcion is
raised, it is written in the log), but no exception is obtained. I've
tried to create several services to try to reproduce the error (trying
to simulate errors here and there), but I've not been able to stop the
service. The only way I have been able to reproduce the effect is
terminating the process with the Task Manager.

What should I be looking for? How can I at least find a clue to
understand what is happening?

Thank you all in advance Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI 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.