I'm trying to say this:

string songLocation = "data/sounds/blabla.wav";

PlaySound(songLocation,NULL,SND_FILENAME|SND_ASYNC);

but here is the error I get:

cannot convert `std::string' to `const CHAR*' for argument `1' to `BOOL PlaySoundA(const CHAR*, void*, DWORD)'

Does anyone have any ideas? (btw, songLocation cannot be changed from a string. If that happens to be the case, it will have to be converted)

try:

PlaySound(songLocation.c_str(),NULL,SND_FILENAME|SND_ASYNC);