Home > Software engineering >  Solve the PlaySound () function is undefined identifiers
Solve the PlaySound () function is undefined identifiers

Time:09-19

The original poster is a student, I watched two this C/C + + primer, never learn MFC, please don't use advanced language,
What am I doing in the MFC to constantly switch play wav files, equivalent to 88 piano tone this order, then I am using
PlaySound () function shows undefined identifiers, but I already according to the Internet in the first
File added: # include "Windows. H"
#include
# pragma comment (lib, "winmm. Lib")
I use the VS2010, these a few header file. I add in my CPP, don't know what effect, what that says in the link add what library I also got, just don't know the right not

Hope to have a great god, can you tell me how to solve the same look on the Internet, said PlaySound () function is very poor, if you can recommend other functions to complete the function I said so much the better, remember to tell me the usage, finally, remember: I'm really new, new to new, so I hope the language can be a small white point, had better give me a good example, thank you

CodePudding user response:

Take a look at this, I think this should be better
https://blog.csdn.net/seven407/article/details/6083562

CodePudding user response:

The most authoritative official document PlaySound function




  • Related