VC编译时出现的问题。

error C2664: 'mciSendStringA' : cannot convert parameter 1 from 'unsigned short [11]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

mciSendStringA函数的参数是const char*字符串类型,但你传递的是 unsigned short[11],相当于unsigned short*,不匹配

mciSendStringA函数的第一个参数是char* 类型,传进去的是 unsigned short 数组,所以报错。