L
Lews
Guest
Hi!
I've created a Windows application in Visual Basic 6. Now I'm implementing some new features in the application which requires that I use threading. This leads to that I need to redesign the whole class structure.
Since I'm redesigning I'm considering rewriting the program in C# mostly for learning purposes.
My question is now, what method is best to use to make real-time C# applications. I've been looking a bit at Messaging but someone told me that you use something callled Delegates in C#. My need is basically to have a listener thread that just waits for incoming requests and forwards them to a handler-thread. This handler-thread then creates standalone-singlethreads that does a task then dies.
Ps. I'm not a very experienced Windows-programmer. The VB application was my first Windows application and my first VB application. However, it contains maybe 500 rows of code.
Thanks in advance
Lews
I've created a Windows application in Visual Basic 6. Now I'm implementing some new features in the application which requires that I use threading. This leads to that I need to redesign the whole class structure.
Since I'm redesigning I'm considering rewriting the program in C# mostly for learning purposes.
My question is now, what method is best to use to make real-time C# applications. I've been looking a bit at Messaging but someone told me that you use something callled Delegates in C#. My need is basically to have a listener thread that just waits for incoming requests and forwards them to a handler-thread. This handler-thread then creates standalone-singlethreads that does a task then dies.
Ps. I'm not a very experienced Windows-programmer. The VB application was my first Windows application and my first VB application. However, it contains maybe 500 rows of code.
Thanks in advance
Lews