Hello,
I installed the components in Delphi 2007 and compiled the demo project. When I run it, it correctly identifies available transports and Bluetooth APIs. But when I press "Discovery" on the "Bluetooth Discovery/Devices" tabs, it shows error - "Parameter Error".
I tried to write a simple project, using example source code from this forum:
procedure TForm1.Button1Click(Sender: TObject);
var
Devices: TBFBluetoothDevices;
begin
Devices := BluetoothDiscovery.Discovery(nil, False, False);
// Check is there is at leat one device
if Assigned(Devices) then
begin
try
if Devices.Count > 0 then
begin
ShowMessage(IntToStr(Devices.Count));
end;
// The error can appears above so use try/finally block
finally
// Clean up
Devices.Free;
end;
end;
end;
The result is the same - "Parameter error" at this line:
Devices := BluetoothDiscovery.Discovery(nil, False, False);
I use Bluesoleil 2.3.0.0 Voip Release.
Any ideas ?