Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fox Date type LPBYTE
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00806517
Message ID:
00807441
Views:
23
>Hello George,
>thought you might be interested, this is what I ended up with ;
>
>
>LPARAMETERS pcUser, pcMessage
>DECLARE INTEGER NetMessageBufferSend IN netapi32 ;
>  STRING servername, STRING UserName, STRING fromname, ;
>  STRING MessageBuf, INTEGER buflen
>lcUser    = strconv( StrConv(pcUser,1), 5) + Chr(0)
>lcMsg     = strconv( StrConv(pcMessage,1), 5) + Chr(0)
>lcFrom    = strconv( Strconv(Sys(0),1), 5) + Chr(0)
>lnLen     = len(lcMsg)
>res = NetMessageBufferSend( 0, lcUser, lcFrom, lcMsg, lnLen )
>RETURN res
>
>
>thanks for your help
>
>Pete Kane

You're welcome.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform