Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetUserName
Message
From
18/05/1999 21:06:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
GetUserName
Miscellaneous
Thread ID:
00220265
Message ID:
00220265
Views:
58
Hi there,

I was trying to use GetUserName call from win32api and all I got in return was a blank space. Can someone help me out with the code?

In the init() event

Declare GetUserName in Win32api string, integer

UserName = space(25)

=GetUserName( @UserName, 1 )

Return blank. Why?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform