Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API or SYS()?
Message
 
 
À
22/10/2002 11:46:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00713900
Message ID:
00713908
Vues:
19
Michael,
One doesn't work better than the other. The Sys(0) function merely acts as a wrapper to these functions. If you are comfortable accessing the WinAPI, don't bother changing, IMO.

Regards.

>Hi All,
>
>I have a simple question. I use the following API calls to get the Computer’s name & the User’s name.
>
>GetComputerName & GetUserName
>
>1) Would it be better to just use SYS(0) and then just split the result string?
>2) Why would 1 work better that the other?
>
>TIA
>Mike
>
>P.S. VFP6 SP5
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform