FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


gettin the current username with the windows API





acromm
Code:


char buff[50];
DWORD caca;
caca = sizeof(buff);

GetUserName(buff,&caca);
MessageBox(NULL, buff, "name user", MB_OKCANCEL);



Remeber to include de <windows.h>
Related topics
Why You Should Never Use Flash
.htaccess problem
Account activation, email....
my site...CHECK IT OUT!!!
linux problem
Username!!!
meaning of your username
modifiying the windows registry with the windows API - run
C/C++
help with login to display the current username
Web service username/password safety
WinXP to Linux Instead of Windows 7
WINE Enjoy Taste Of Windows
WINE Enjoy Taste Of Windows
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.