C
cmartin64x
Hi,
I am trying to make this simple code work but I have no success doing
so:
BLUETOOTH_DEVICE_SEARCH_PARAMS btsp = { sizeof(btsp) };
BLUETOOTH_DEVICE_INFO btdi = { sizeof(btdi) };
btsp.fReturnAuthenticated = TRUE;
btsp.fReturnRemembered = TRUE;
btsp.cTimeoutMultiplier = 40;
btsp.fReturnUnknown = TRUE;
btsp.fReturnConnected = TRUE;
btsp.fIssueInquiry = TRUE;
hFind = BluetoothFindFirstDevice( &btsp, &btdi );
GetLastError(...);....
When I call GetLastError; It tells me that => "1722 The RPC server
is
unavailable."
I am developping with SDK SP1 under Windows XP SP1 with Visual Studio
.NET. My bluetooth interface is an IOGEAR (USB). ( I tried with
Belkin
USB interface as well and it did not work). I have installed
q323183_wxp_sp2_x86_enu.exe which resolved some problems but I still
cannot see the Bluetooth device around the computer.
Although, if I use the "Explore my Bluetooth place" I do find my
bluetooth device (2 of them actually).
Any advice ???
I am trying to make this simple code work but I have no success doing
so:
BLUETOOTH_DEVICE_SEARCH_PARAMS btsp = { sizeof(btsp) };
BLUETOOTH_DEVICE_INFO btdi = { sizeof(btdi) };
btsp.fReturnAuthenticated = TRUE;
btsp.fReturnRemembered = TRUE;
btsp.cTimeoutMultiplier = 40;
btsp.fReturnUnknown = TRUE;
btsp.fReturnConnected = TRUE;
btsp.fIssueInquiry = TRUE;
hFind = BluetoothFindFirstDevice( &btsp, &btdi );
GetLastError(...);....
When I call GetLastError; It tells me that => "1722 The RPC server
is
unavailable."
I am developping with SDK SP1 under Windows XP SP1 with Visual Studio
.NET. My bluetooth interface is an IOGEAR (USB). ( I tried with
Belkin
USB interface as well and it did not work). I have installed
q323183_wxp_sp2_x86_enu.exe which resolved some problems but I still
cannot see the Bluetooth device around the computer.
Although, if I use the "Explore my Bluetooth place" I do find my
bluetooth device (2 of them actually).
Any advice ???