1>d:\新建文件夹\windowsproject1\windowsproject1\windowsproject1.cpp(1009): error C3861: “PlaySound”: 找不到标识符

在开头引入头文件#include <mmSystem.h>;

如果不行在解决方案资源管理器里面(视图中打开,一般在右侧),

“PlaySound”: 找不到标识符

右键你的项目,点击属性

“PlaySound”: 找不到标识符

在链接器输入栏附加依赖项写winmm.lib

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
猜你喜欢
  • 2021-11-28
  • 2022-03-12
  • 2021-05-04
  • 2021-11-11
  • 2022-01-30
  • 2022-12-23
  • 2021-12-30
相关资源
相似解决方案