How to call a function using Thread in C#? |
| Eswaran Radhakrishnan posted at 04-Jul-08 04:07 |
Hi,
I have a function to play wave file in C#.Net. I need to call this function by passing filename. If I pass a list of wave files continuesly to this function i can hear only the last wave file. but all the wave files go to the function but, I can hear only the last file. So, Now, I have decided to call this function in a separate thread. Whenever this function called then new thread should be created and should be finished after the file successfully readit out.
so, I need to call a function using Thread. any help..
Thanks R. Eswaran.
|
|