On 18/4/2011 2:34 μμ, Francois PIETTE wrote:
No idea, but that can't be a permission issue IMO. Receiving datagrams
in a service running as system works fine. Also attaching a debugger
doesn't change security context of the debugee.
What happens is that a new thread is created in the process being
debugged, maybe there's some issue with your multi-threading?

Maybe, but then why attaching a debugger would make things suddently work ?
I really don't know what to do since attaching a debugger solve the
issue. This really puzzles me !

The code for the service is the code I already used in other application
which works fine (using TCP altough).


I had a similar experience in the past, not with ICS components but generally working on a completely different project. When project was running normally at some point did not work but when attaching a debugger then it would work. The problem at that situation was that the program needed some time to be given for some external operations, so if a debugger was attached or a sleep was introduced or a "Application.Processmessages" command was introduced, then it could work. I don't know if this solves the issue at your situation, but maybe it helps. Good luck.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to