FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a 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>
Reply to topic    Frihost Forum Index -> Scripting -> Others

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