OS: windows ce6.0
code:
private void btnFind_Click(object sender, EventArgs e)
{
try
{
BluetoothRadio.PrimaryRadio.Mode = RadioMode.Discoverable;
bluetoothClient = new BluetoothClient();
InTheHand.Net.Sockets.BluetoothDeviceInfo[ bluetoothDeviceInfo = (new BluetoothClient()).DiscoverDevices(10, false, false, true);
//Guid spguid = InTheHand.Net.Bluetooth.BluetoothService.ObexObjectPush;
cmbBlueTooth.DataSource = bluetoothDeviceInfo;
cmbBlueTooth.DisplayMember = "DeviceName";
cmbBlueTooth.ValueMember = "DeviceAddress";
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
}
}
Error:Can't find PInvoke DLL 'BthUtil.dll'
Why??