buf:array[0..255] of char;
 ln:integer;
begin
 ln:=sizeof(buf);
 wnetgetuser(nil,buf,ln);
 label.caption:=strpas(buf);
end;
>Can someone show me how to use this? What is the lpszLocalName parameter
set
>to when connecting to a Windows 95 peer to peer network?
In this case, the answer is nil.
Alistair+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to