I can't connect TO the netdcu8 using \\ip addr and I can connect FROM the netdcu8 using WNetAddConnection3. WNetAddConnection3 returns ERROR_BAD_NETPATH. "net use \\10.0.0.1\temp" is also not working.
What I'm doing wrong?
NETRESOURCE res;
memset(&res,0,sizeof(NETRESOURCE));
res.dwType=RESOURCETYPE_DISK;
res.lpLocalName=NULL;
res.lpProvider=NULL;
res.lpRemoteName=L"\\\\1.1.1.16\\Temp";
WNetAddConnection3(NULL,&res,L"xxx",L"Administrator",0);
Steffen