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:
00806543
Views:
30
>Hello George, thanks, will this do the trick ?
>
>
>Declare integer ;
>NetMessageBufferSend ;
>in netapi32.dll ;
>string servername,;
>string msgname,;
>string fromname,;
>string @buf,;
>integer buflen
>
>
>
>regards
>
Pete,

It should, but all of the strings should be passed by reference. One correction however, LPBYTE is a pointer to a BYTE array, so it can be one character or more (I neglected to mention that). That's why the buflen parameter. This value will be one greater than the length of the message you're trying to send, or the length if you explictly add a terminating null character (CHR(0)).
George

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

Click here to load this message in the networking platform