I need to pass a pointer to a null-terminated string in the LPARAM of a SendMessage(...). I'm trying to do that
on Windows NT using UNICODE. I've tried several way, but without any success. Here is an example of what I'm
trying to do:

LPTSTR lpText = TEXT("\\My Documents\\Test.wav");
::SendMessage (hwndVoice, VRM_RECORD, NULL, (LPARAM)(LPCTSTR)lpText);


What is wrong with that??



Thanks
Frank