如题,很急。在网上找了很多资料。还是不能解决。等待高手
编程环境:VS2005
运行环境:wince

解决方案 »

  1.   

    调用系统声音,我不清楚。但以下方法可以让机子发声[DllImport("coredll.dll",
    EntryPoint = "MessageBeep",
    CharSet = CharSet.Unicode,
    CallingConvention = CallingConvention.Winapi)]
    //音效
    public static extern bool MessageBeep(int type); MessageBeep(1);
      

  2.   

    请教  type  是谁边填写的参数吗?
      

  3.   

            //发出不同类型的声音的参数如下:  
            uint Ok = 0x00000000; 
            uint Error = 0x00000010;  
            uint Question = 0x00000020;  
            uint Warning = 0x00000030;
            uint Information = 0x00000040; 差不多这样吧,我先用用吧。找到一些相关声音