Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NetUserGetGroups and NetUserGetLocalGroups erratic
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00602643
Message ID:
00603919
Vues:
25
Thanks! It was the trailing nulls that did it, i.e.,

cUser = STRCONV(cUser,5)+CHR(0)+CHR(0)

Incidentally, I changed the length to -1 (MAX_PREFERRED_LENGTH) so the API would decide how long the buffer should be.

Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform