The begin
DwType:=RESOURCETYPE_ANY;
LpLocalName:=';
LpRemoteName:=PAnsiChar (' \ \ 192.101.3.69 \ d $');
LpProvider:=';
end;
DwResult:=WnetAddConnection2 (NetSource, PAnsiChar (' PWD), PAnsiChar (' name '), CONNECT_UPDATE_PROFILE);
Return error: 997 - overlapped I/O operation is in progress, but the connection has been established successfully, and can access \ \ 192.101.3.69 \ d file under $,
CodePudding user response:
One day, his hat with ~