Author Topic: How to ReDetect BlueTooth Adapters  (Read 1365 times)

Offline fjtrooper

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
How to ReDetect BlueTooth Adapters
« on: January 02, 2007, 01:32:40 AM »
Hello, how could I ReDetect Bluetooth Adapters? I made a program which runs on windows start up, and in some computers the bluetooth adapter initialize after my program loads, so it is not detected by my program. Could someone help me please

Thanks

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • Karma: 1000
    • Wireless Communication Library
Re: How to ReDetect BlueTooth Adapters
« Reply #1 on: January 02, 2007, 02:19:42 AM »
Good time of the day!
And Happy New Year!

Yes. It is posible but not documented. :)
There is global variable API in BFAPI.pas
In initialization section of the BFAPI.pas TBFAPI instance created and assigned to this variable.
So. You can destroy it and then create again. BUT! You should do it before other components will be created.
WCL - Wireless Communication Library
TextBlue - Bluetooth Proximity Marketing Software
WCL Phone Explorer - Free Phone Content Manager

Offline fjtrooper

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
Re: How to ReDetect BlueTooth Adapters
« Reply #2 on: January 02, 2007, 02:38:18 AM »
Happy New Year and Thank you very much