Index: src/ch/FeedbackHandler.cpp =================================================================== diff -u -N -r8592d6dcef30c8e4967ca4dcee37c1ca52afbf16 -r44a2ec5f1eb0a435b56daef42ef5fe3b7a91da0d --- src/ch/FeedbackHandler.cpp (.../FeedbackHandler.cpp) (revision 8592d6dcef30c8e4967ca4dcee37c1ca52afbf16) +++ src/ch/FeedbackHandler.cpp (.../FeedbackHandler.cpp) (revision 44a2ec5f1eb0a435b56daef42ef5fe3b7a91da0d) @@ -86,10 +86,7 @@ if (GetPropValue(GetConfig())) { CString strPath = GetPropValue(GetConfig()); - GetApp().ExpandPath(strPath.GetBufferSetLength(_MAX_PATH)); - strPath.ReleaseBuffer(); - - PlaySound(strPath, NULL, SND_FILENAME | SND_ASYNC); + PlaySound(GetApp().ExpandPath(strPath), NULL, SND_FILENAME | SND_ASYNC); } return TFeedbackResult(eResult_Unknown, true); @@ -100,10 +97,7 @@ if (GetPropValue(GetConfig())) { CString strPath = GetPropValue(GetConfig()); - GetApp().ExpandPath(strPath.GetBufferSetLength(_MAX_PATH)); - strPath.ReleaseBuffer(); - - PlaySound(strPath, NULL, SND_FILENAME | SND_ASYNC); + PlaySound(GetApp().ExpandPath(strPath), NULL, SND_FILENAME | SND_ASYNC); } return TFeedbackResult(eResult_Unknown, true);