Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox Date type LPBYTE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00806517
Message ID:
00807441
Vues:
24
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform