Hi!

I have a big problem with the PlaySound function in my console application. The problem is that when I build my project the linker fails. This is the message "Sound.obj : error LNK2019: unresolved external symbol __imp__PlaySoundA@12 referenced in function _main Debug/Sound.exe : fatal error LNK1120: 1 unresolved externals".

And here is the code:
Code:
# include <stdio.h>
# include <conio.h>
# include <windows.h>

int main ()
{
    printf ("SOUND");
    PlaySound (TEXT ("Click.wav"), NULL, SND_FILENAME | SND_ASYNC);
    return 0;
}
I have VC++ .NET on WinXP PRO.

Please help me .