|
-
May 10th, 1999, 12:59 PM
#1
How to pass pointer to string character
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|