|
-
September 9th, 2002, 03:42 PM
#12
Mick_2002
Are you fimiliar with the NetMessageBufferSend API?
I have a dialog based app with 2 edit fields on it. And a control variables called:
m_cCompName.
m_cSendText.
LPWSTR awcToNameW;
LPWSTR awcFromNameW;
CString ComputerName;
awcToNameW = T2W(ComputerName);
awcFromNameW = T2W(ComputerName);
NET_API_STATUS nasStatus;
nasStatus = NetMessageBufferSend(NULL,
awcToNameW,
awcFromNameW,
(LPBYTE)(LPCTSTR)TextSend,
TextSend.GetLength());
So what am I doing wrong. This should work. Right?
Do you ahve any suggestions?
Thanks
Tom Wright
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
|