int main()
{
mciSendString("open res/丰_love.mp3 type mpegvideo alias mp3", 0, 0, 0);
mciSendString("play res/丰_love.mp3 type mpegvideo alias mp3", 0, 0, 0);
while (1);
return 0;
}
运行输出:
“musicPlayerDemo.exe”(Win32): 已加载“D:\study\visualProject\音乐播放器\musicPlayerDemo\x64\Debug\musicPlayerDemo.exe”。已加载符号。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ntdll.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\kernel32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\KernelBase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msvcp140d.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\winmm.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ucrtbase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\vcruntime140d.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\vcruntime140_1d.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ucrtbased.dll”。
线程 20348 已退出,返回值为 0 (0x0)。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\winmmbase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mciqtz32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\user32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\win32u.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\gdi32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\gdi32full.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msvcp_win.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ole32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\combase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\rpcrt4.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\quartz.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\advapi32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msvcrt.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\sechost.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\bcrypt.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\oleaut32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\shlwapi.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\windows.storage.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\WinTypes.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\imm32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\kernel.appcore.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\bcryptprimitives.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\uxtheme.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\clbcatq.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msctf.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\devenum.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\cfgmgr32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msmpeg2adec.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mfperfhelper.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\cryptsp.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\avrt.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\CompPkgSup.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\SHCore.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\Windows.StateRepositoryPS.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mpg2splt.ax”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ntmarta.dll”。
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\avrt.dll”
线程 14028 已退出,返回值为 0 (0x0)。
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\mciqtz32.dll”
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mciqtz32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\avrt.dll”。
0x00007FFD85B4FE4C (KernelBase.dll)处(位于 musicPlayerDemo.exe 中)引发的异常: 0x8001010D: 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。。
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\avrt.dll”
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\mciqtz32.dll”
线程 21300 已退出,返回值为 0 (0x0)。
线程 1184 已退出,返回值为 3221225786 (0xc000013a)。
线程 2496 已退出,返回值为 3221225786 (0xc000013a)。
线程 13216 已退出,返回值为 3221225786 (0xc000013a)。
线程 11564 已退出,返回值为 3221225786 (0xc000013a)。
线程 304 已退出,返回值为 3221225786 (0xc000013a)。
线程 8928 已退出,返回值为 3221225786 (0xc000013a)。
线程 4288 已退出,返回值为 3221225786 (0xc000013a)。
线程 17700 已退出,返回值为 3221225786 (0xc000013a)。
线程 28540 已退出,返回值为 3221225786 (0xc000013a)。
程序“[17316] musicPlayerDemo.exe”已退出,返回值为 3221225786 (0xc000013a)。
{
mciSendString("open res/丰_love.mp3 type mpegvideo alias mp3", 0, 0, 0);
mciSendString("play res/丰_love.mp3 type mpegvideo alias mp3", 0, 0, 0);
while (1);
return 0;
}
运行输出:
“musicPlayerDemo.exe”(Win32): 已加载“D:\study\visualProject\音乐播放器\musicPlayerDemo\x64\Debug\musicPlayerDemo.exe”。已加载符号。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ntdll.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\kernel32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\KernelBase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msvcp140d.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\winmm.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ucrtbase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\vcruntime140d.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\vcruntime140_1d.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ucrtbased.dll”。
线程 20348 已退出,返回值为 0 (0x0)。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\winmmbase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mciqtz32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\user32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\win32u.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\gdi32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\gdi32full.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msvcp_win.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ole32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\combase.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\rpcrt4.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\quartz.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\advapi32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msvcrt.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\sechost.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\bcrypt.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\oleaut32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\shlwapi.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\windows.storage.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\WinTypes.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\imm32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\kernel.appcore.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\bcryptprimitives.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\uxtheme.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\clbcatq.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msctf.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\devenum.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\cfgmgr32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\msmpeg2adec.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mfperfhelper.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\cryptsp.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\avrt.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\CompPkgSup.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\SHCore.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\Windows.StateRepositoryPS.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mpg2splt.ax”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\ntmarta.dll”。
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\avrt.dll”
线程 14028 已退出,返回值为 0 (0x0)。
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\mciqtz32.dll”
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\mciqtz32.dll”。
“musicPlayerDemo.exe”(Win32): 已加载“C:\Windows\System32\avrt.dll”。
0x00007FFD85B4FE4C (KernelBase.dll)处(位于 musicPlayerDemo.exe 中)引发的异常: 0x8001010D: 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。。
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\avrt.dll”
“musicPlayerDemo.exe”(Win32): 已卸载“C:\Windows\System32\mciqtz32.dll”
线程 21300 已退出,返回值为 0 (0x0)。
线程 1184 已退出,返回值为 3221225786 (0xc000013a)。
线程 2496 已退出,返回值为 3221225786 (0xc000013a)。
线程 13216 已退出,返回值为 3221225786 (0xc000013a)。
线程 11564 已退出,返回值为 3221225786 (0xc000013a)。
线程 304 已退出,返回值为 3221225786 (0xc000013a)。
线程 8928 已退出,返回值为 3221225786 (0xc000013a)。
线程 4288 已退出,返回值为 3221225786 (0xc000013a)。
线程 17700 已退出,返回值为 3221225786 (0xc000013a)。
线程 28540 已退出,返回值为 3221225786 (0xc000013a)。
程序“[17316] musicPlayerDemo.exe”已退出,返回值为 3221225786 (0xc000013a)。
飒飒飒

