我是用的c #,mc 1000支持到wince 4.2,为什么就不能发出声音呢?
Miscorsoft Visual Basic Runtime 不响
public const int MB_ICONEXCLAMATION = 48;
[DllImport( "user32.dll ")]
public static extern bool MessageBeep(uint uType);
MessageBeep( MB_ICONEXCLAMATION );
不响
[DllImport( "kernel32.dll ")]
public static extern bool Beep(int freq,int duration);
Beep(800,300);
不响
[DllImport( "winmm.dll ")]
public static extern bool PlaySound(string pszSound,int hmod,int fdwSound);
public const int SND_FILENAME = 0x00020000;
public const int SND_ASYNC = 0x0001;
PlaySound( "提示时奏幻想空间.WAV ",0,SND_ASYNC|SND_FILENAME);
出错!
该怎么搞呀!高手给点建议吧!我错在哪了!
------解决方案--------------------
你要调用symbol mc 1000自己的API
symbol mc 1000
它的震动,声音,激光
都是要调用自己的API
相关要看PDF文档