Click to See Complete Forum and Search --> : GetUserName


May 20th, 1999, 01:50 AM
once again. I am not able to get the username with OS win9x.
with NT4.0/2000 it works proper.
thanks a lot.

Stephane C
May 21st, 1999, 03:49 AM
I use the same code with 9x and NT4.00
[
char lpBuffer[256] ;
DWORD nSize=256 ;
GetUserName( lpBuffer, &nSize) ;
]
Good luck! Stéphane C