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.



Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  How to call a function using Thread in C#? - Eswaran Radhakrishnan  04-Jul-08 04:07 4:07:51 AM
      Delay - sundar k  04-Jul-08 04:12 4:12:22 AM
          I used that one also.. But Not use.. - Eswaran Radhakrishnan  04-Jul-08 04:18 4:18:49 AM
      solution to wav file playing - Umapathy Kaliaperumal  04-Jul-08 04:56 4:56:43 AM
          It did not work. Any other ideas... - Eswaran Radhakrishnan  04-Jul-08 05:21 5:21:49 AM
              thread issue - Umapathy Kaliaperumal  04-Jul-08 06:19 6:19:03 AM
      Re:How to call a function using Thread in C#? - Ashutosh Dhok  04-Jul-08 05:22 5:22:57 AM
          Solution - kalit sikka  04-Jul-08 05:33 5:33:23 AM
      use multithreading - Arvind Kumar  04-Jul-08 05:27 5:27:44 AM
      Calling function using threads - santhosh kumar  04-Jul-08 06:08 6:08:52 AM
          I need to pass some paramenters when we call the function... - Eswaran Radhakrishnan  04-Jul-08 10:42 10:42:18 AM
View Posts