Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API or SYS()?
Message
 
 
To
22/10/2002 11:46:57
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00713900
Message ID:
00713908
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform