>>DECLARE INTEGER GetUserName in WIN32API String @,Integer
>>buffer=space(20)
>>=GetUserName(@buffer,20)
>
>From my Windows '95 station, I am logged into my Windows NT server.
>
>Here's what I have:
>DECLARE INTEGER GetUserName in WIN32API String @,Integer
>buffer=space(20)
>=GetUserName(@buffer,20)
>
>When I print the buffer variable, I get nothing, just 20 space.
>
>It is possible that this syntax is working but is not able to get the current logged user on my station for some specific reasons?
This is of interest to me, also -- I have NT & 95 too. I also get nothing with this code. Any ideas to alter it to make it work?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.