By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 1,942 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

Windows Service and multithreading

P: n/a
Hello Friiends

I am looking for ways to create a multithreaded Windows service in c#
which is actually a IM Bot application. Since multiple user can access
at same time, I want to create seprate thread when user open a chat
Window[for instance for MSN IM]. I coudn't find any such helpful tip to
acomplish the task. Kindly guide me.
Thanks

Sep 30 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Yes one most iMportant question, Is threading necessary to involve in a
Chat system like a IM Bot?

Thanks
Adynan wrote:
Hello Friiends

I am looking for ways to create a multithreaded Windows service in c#
which is actually a IM Bot application. Since multiple user can access
at same time, I want to create seprate thread when user open a chat
Window[for instance for MSN IM]. I coudn't find any such helpful tip to
acomplish the task. Kindly guide me.
Thanks
Sep 30 '06 #2

P: n/a

Adynan wrote:
Yes one most iMportant question, Is threading necessary to involve in a
Chat system like a IM Bot?

Thanks
Adynan wrote:
Hello Friiends

I am looking for ways to create a multithreaded Windows service in c#
which is actually a IM Bot application. Since multiple user can access
at same time, I want to create seprate thread when user open a chat
Window[for instance for MSN IM]. I coudn't find any such helpful tip to
acomplish the task. Kindly guide me.
Thanks
I've not got any experience of IM Bots, but threading is something I've
had to do a lot of. Be warned that threading can be tricky (especially
in terms of sunchronisation and when you need to close threads down).

It's rare that threading is absolutely neccessary, there can often be
other alternatives.

If you do decide to go down the threading route it might be worth while
doing some small sample code, maybe working through the examples on Jon
Skeet's introduction to threading article
(http://www.yoda.arachsys.com/csharp/threads/).

Best,

Nick
http://seecharp.blogspot.com/

Sep 30 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.