-
PlaySound
When i try to use the PlaySound() function i get this link error
error LNK2001: unresolved external symbol __imp__PlaySoundA@12
i dont know how to fix it, i've included mmsystem.h, and tried windows.h, but it still gives me this error, how do i fix it?
Of all the things I've lost I miss my mind the most
-
Re: PlaySound
That error is caused by the compiler can't find the implementation function of PlaySound.
Link the winmm.lib into your project.
-
Re: PlaySound
I think you forget to add a library file ".lib" to your visual c project.
look in playsound help to known which .lib file to include.
Stephane BLANC
France
[email protected]