Вниз
Скачать: 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.008 c
6-256
Yuraz
2002-01-17 18:30
2002.04.01
Есть кусок HTML кода, хотелось бы хоть примитивно преобразовать его в наглядную страницу


14-298
Ajax
2002-02-18 23:11
2002.04.01
astalaViSta money saver


4-344
Tomvitas
2002-01-29 00:52
2002.04.01
Как в SHBrowseForFolder диалог вставить TCheckBox?


3-14
vasilly
2002-03-06 10:26
2002.04.01
Помогите примером!!! Как получить выходные параметры хранимой процедуры!!!


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




   Наверх