about windows services
- can win开发者_如何学Godows services register to receive SENS network events because my service just stops when i try to do it.
- after the service onStart() method has been called, if no seperate Timer or thread is started, does the service stop ??
NOTE: i am using C# services to implement my service
thanx, AB
You should be able to, I'm not real familiar with SENS specifically but you should be able to do just about anything (outside of UI related, and that's doable too just more caveats). One thing you might want to check out is what user account your service is running, you may need to use something like LocalServie or LocalSystem to have the proper permissions.
No the process continues to run, but if you don't have a timer or some other mechanism to invoke your code, then your service won't do anything.
精彩评论