Board index » cppbuilder » net send

net send


2004-09-14 02:30:31 AM
cppbuilder93
All on WinXP:
Right now I am using CreateProcess to issue a net send command.
And it works fine. (except that once in a while the message does not get
displayed on the users computer)
I am wondering - is there a better way to do this?
Thanks,
Roland
 
 

Re:net send

"roladdon" < XXXX@XXXXX.COM >wrote in message news:<4145e737$ XXXX@XXXXX.COM >...
Quote
I am wondering - is there a better way to do this?
Look at the NetMessageBufferSend() function in the Win32 API.
Gambit
 

Re:net send

"roladdon" < XXXX@XXXXX.COM >wrote:
Quote
I am wondering - is there a better way to do this?
Look at the NetMessageBufferSend() function in the Win32 API.
Gambit
 

{smallsort}

Re:net send

I had to include: <lmmsg.h>
now I get multiple errors:
[C++ Error] lmmsg.h(40): E2141 Declaration syntax error
[C++ Error] lmmsg.h(46): E2238 Multiple declaration for 'NET_API_STATUS'
[C++ Error] lmmsg.h(40): E2344 Earlier declaration of 'NET_API_STATUS'
[C++ Error] lmmsg.h(46): E2141 Declaration syntax error
[C++ Error] lmmsg.h(57): E2238 Multiple declaration for 'NET_API_STATUS'
[C++ Error] lmmsg.h(46): E2344 Earlier declaration of 'NET_API_STATUS'
[C++ Error] lmmsg.h(57): E2141 Declaration syntax error
[C++ Error] lmmsg.h(65): E2238 Multiple declaration for 'NET_API_STATUS'
[C++ Error] lmmsg.h(57): E2344 Earlier declaration of 'NET_API_STATUS'
[C++ Error] lmmsg.h(65): E2141 Declaration syntax error
[C++ Error] lmmsg.h(71): E2238 Multiple declaration for 'NET_API_STATUS'
[C++ Error] lmmsg.h(65): E2344 Earlier declaration of 'NET_API_STATUS'
[C++ Error] lmmsg.h(71): E2141 Declaration syntax error
Any idea why?
Roland