Tools
wnet.txt
Associated article: Delphi 4 and the WNet API
Tags: .NET Tools
Published source code accompanying the article by Fritz Lowrey in which he uses Delphi 4 a multi-machine remote registry editing tool based on the Win32 WNet API. In the process, he examines the WNet API, discusses some of the differences between Delphi 4.0 and previous versions, and looks at authentication differences between workgroups and domains. Also see WNET.ZIP.
Delphi 4 and the WNet API
by Fritz Lowery
Listing One
try
{ do the enumeration of containers }
if WnetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_ANY, 0, nil, hEnum) <>
NO_ERROR then
exit;
{ now enumerate the containers }
iBufSize := sizeof(aBuf);
iEntries := 64; { 64 entries at ...


