-- [ Picked text/plain from multipart/alternative ] I can't hardly see straight, but I believe you forget to make room for the null terminator :P Try this crap:
int iLen = strlen(lpcSong) + 1; WCHAR* lpwcSong = new WCHAR[iLen + 1]; //yay paranoia memset(lpwcSong, 0, (iLen + 1)); MultiByteToWideChar(CP_ACP, 0, lpcSong, iLen, lpwcSong, iLen); -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

