I am trying to make a call to playsound:
But I am getting these 2 errors:Code:PlaySound (TEXT ("hellowin.wav"), NULL, SND_FILENAME | SND_ASYNC) ;
--------------------Configuration: Windows Programming simp1 - Win32 Debug--------------------
Compiling...
Main.cpp
Linking...
Main.obj : error LNK2001: unresolved external symbol __imp__PlaySoundA@12
Debug/Windows Programming simp1.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Windows Programming simp1.exe - 2 error(s), 0 warning(s)
Does that mean that I can't make a call to that particular function with xp?
EDIT:
This ebook seems old, instead of using PeekMessage it uses GetMessage and isntead of TextOut() it uses DrawText...Where can I find a more up-to-date e-book?