Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetUserName
Message
 
 
To
18/05/1999 21:46:45
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00220265
Message ID:
00220306
Views:
23
Vlad,

You are right, you can also use the returned nSize to save the at() call.

>The returned string is a C string (null terminated). So, after the call to GetUserName:
>
>UserName = substr(UserName, at(chr(0), username) - 1)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform