nicholask
28th July 2009, 08:13 AM
Hi!
I'm trying to get the device ip from PC/RAPI. Of some users "GetConnectionInfo" comes back with ip-address 127.0.0.1 instead of the actual ip. The code is from a MS/SDK sample app (SockApp). The device (WM6.1) is USB cable connected to Vista.
hr = pIRapiDesktop->EnumDevices(&pIRapiEnumDevices);
if (FAILED(hr))
{
goto Exit;
}
hr = pIRapiEnumDevices->Next(&pIRapiDevice);
if (FAILED(hr))
{
goto Exit;
}
// Get connection information using pIRapiDevice returned previously
hr = pIRapiDevice->GetConnectionInfo(&connectionInfo);
Does anyone have an idea why?
Nicholas
I'm trying to get the device ip from PC/RAPI. Of some users "GetConnectionInfo" comes back with ip-address 127.0.0.1 instead of the actual ip. The code is from a MS/SDK sample app (SockApp). The device (WM6.1) is USB cable connected to Vista.
hr = pIRapiDesktop->EnumDevices(&pIRapiEnumDevices);
if (FAILED(hr))
{
goto Exit;
}
hr = pIRapiEnumDevices->Next(&pIRapiDevice);
if (FAILED(hr))
{
goto Exit;
}
// Get connection information using pIRapiDevice returned previously
hr = pIRapiDevice->GetConnectionInfo(&connectionInfo);
Does anyone have an idea why?
Nicholas