Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.007 c
1-174
Dok_3D
2002-03-19 07:28
2002.04.01
XML-файлы большого размера


3-31
KMM
2002-03-05 11:07
2002.04.01
Уважаемые Мастера, помогите с


1-85
vladimir_12
2002-03-19 09:11
2002.04.01
Печать в текстовом режиме


3-7
Malder
2002-03-05 19:23
2002.04.01
Как отменить транзакцию в триггере ?


3-74
userppp
2002-03-10 14:02
2002.04.01
Очень сильно надо! Не откажите!




   Наверх