Home > Back-end >  LAN connections for help: WnetAddConnection2, return an error: 997 - overlapped I/O operation is in
LAN connections for help: WnetAddConnection2, return an error: 997 - overlapped I/O operation is in

Time:10-12

With NetSource do
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 ~
  • Related