vscode的mcisendstring调用不了,可以通过编译,但播放不了音乐

#include<iostream>
#include<windows.h>
#include<mmsystem.h>
#include <tchar.h>
//#pragma comment(lib,"winmm.lib")
using namespace std;
int main()
{
	 
    mciSendString(TEXT("play ‪C:\\sofia.mp3"),NULL,0,NULL);
	system("pause");
	return 0;
}
{
    "tasks": [
        {
            "type": "process",
            "label":"Compile",
            //"C/C++: g++.exe 生成活动文件",
            "command": "g++",
            "args": [
                "${file}",
                "-o",
                "${fileDirname}\\${fileBasenameNoExtension}.exe",
                "-g",
                "-Wall",
                "-static-libgcc",
                //"-fexec-charset=GBK",
                "-lwinmm",
                //"-std=c++17",
            ],
            "options": {
                "cwd": "C:\\mingw64\\bin"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "detail": "调试器生成的任务。"
        }
    ],
    "version": "2.0.0"
}

 

出了什么错误么? 如果你输入  "play ‪C:\\sofia.mp3"  会有什么结果?

[Thread 7436.0x1038 exited with code 0]
=library-unloaded,id="C:\\WINDOWS\\SYSTEM32\\mciqtz32.dll",target-name="C:\\WINDOWS\\SYSTEM32\\mciqtz32.dll",host-name="C:\\WINDOWS\\SYSTEM32\\mciqtz32.dll",thread-group="i1"
[Thread 7436.0x1f00 exited with code 0]
[Thread 7436.0x37e4 exited with code 0]
[Thread 7436.0x2cfc exited with code 0]
[Thread 7436.0x1c08 exited with code 0]
[Inferior 1 (process 7436) exited with code 030000000472]
The program 'c:\Users\sisyphus\Desktop\CODE1\play.exe' has exited with code -1 (0xffffffff).

控制台是这样的