Код: Выделить всё
namespace fs = std::filesystem;
fs::path currentPath = fs::current_path();
currentPath += "ding-36029.mp3";
wstring str = currentPath.wstring();
LPCWSTR strPath = str.c_str();

< /p>
Полный путь к аудиофайлу (mp3).
Подробнее здесь: https://stackoverflow.com/questions/792 ... ring-error