General information
Category:
Windows API functions
See Michel Fournier's "How to get the username?" FAQ in the FAQs section, Win32API category.
Vlad
>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only