用MCI 或者 Direct-X 都行.

解决方案 »

  1.   

    tangjianhua(阿痴) 
    说的详细点
      

  2.   

    对呀,用MCI的API,通过PInvoke调用,应该不难得说。
      

  3.   

    class callAPICls 

    [DllImport("user32.dll")] 
    public static extern int MessageBoxA(int h, string m, string c, int type); 
    } private void button2_Click(object sender, System.EventArgs e)
    {
    callAPICls _callAPICls = new callAPICls();

    PlayWAV.PlaySound("c:\\chimes.wav",0,0);

    }
    //调用 user32.dll吧。
      

  4.   

    sorry,写错了
    class PlayWAV 
    {
    [DllImport("winmm.dll")]
    public static extern long PlaySound(String lpszName, long hModule, long dwFlags);  }private void button2_Click(object sender, System.EventArgs e)
    {

    PlayWAV.PlaySound("c:\\chimes.wav",0,0);

    }
      

  5.   

    调用API,象javanow说的作就可以了