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:
00806543
Vues:
31
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform