:confused: I still can't get it :confused:
I'm still not sure, but I have done exactly every thing the way as said. But now I am getting to more errors. They are:
error C2065: 'PlaySound' : undeclared identifier
error C2065: 'SND_ASYNC' : undeclared identifier
error C2065: 'SND_FILENAME' : undeclared identifier
I know the last 2 errors is because I haven't declared the variables, which is really no hassel, cause I can just get teh values and declare them. But the first error, I am still stuck on, and I really need help. Anyone, please help, this is driving me crazy.
:confused::confused::confused::confused::confused::confused::confused::confused::confused::confused: :confused::confused::confused::confused::confused::confused::confused::confused::confused::confused: :confused::confused::confused::confused:
By George, I think I got it....
Thanx all for the help. I got the sound thing working, but now of couse, I can't be satisfied, and I have to ask another question:
How do you know which files to include??
I know you have to include winmm.lib cause the function resides within winmm.dll
But how come you have to include <mmsystem.h>
I'm guessing that there is a special include file for each windows API dll. If so which include files do you need to include for each dll's. Maybe there is a site or something, that could help me.
Thanx for the help once again.
:cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool::cool: