Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.04.01;
Скачать: CL | DM;

Вниз

getusername   Найти похожие ветки 

 
netter   (2001-12-29 17:26) [0]

ПЛЗ ... Как пользоваться функцией GetUserName !
C Наступающим всех!!!


 
Adder ©   (2001-12-29 18:04) [1]

procedure TForm1.Button1Click(Sender: TObject);
var buffer:pchar;
nSize:dword;
begin
nSize:=256;
GetMem(buffer,size);
GetUserName(buffer,nSize);
Label1.Caption:=buffer;
FreeMem(buffer);
end;

If the function succeeds, the return value is nonzero, and the variable pointed to by nSize contains the number of characters copied to the buffer specified by lpBuffer, including the terminating null character.
If the function fails, the return value is zero. To get extended error information, call GetLastError.



Страницы: 1 вся ветка

Текущий архив: 2002.04.01;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.013 c
1-183
Tsatur Soft
2002-03-16 22:09
2002.04.01
Поиск


4-362
ctapik-net
2002-01-29 18:45
2002.04.01
Доступ к компу имея логин и пароль.


3-72
narik
2002-03-10 17:13
2002.04.01
Quick Report


14-300
fliz
2002-02-19 13:00
2002.04.01
подскажите, откуда можно скачать нормальную версию Internet Explorer 6 ?


1-176
Aleksandr
2002-03-19 15:30
2002.04.01
Как установить курсор в конце текста строки?