Author Topic: Bluetooth API detection  (Read 1912 times)

Offline alexey_gusev

  • Newbie
  • *
  • Posts: 34
  • Karma: 0
Bluetooth API detection
« on: October 07, 2009, 11:51:07 AM »
Hello Mike,

I have observed a problem on new laptop with WinXP SP2 and Widcomm stack. Don't know if it is laptop specific or just my bad luck :)

I have embedded BT adapter in the laptop, I turn it off, the BT icon goes red as expected. All's fine up to this stage.
Then I plug in BT dongle (I haven't installed anything for it), the icon goes blue (again as expected), I can search devices with it via Windows and transfer files.
But...WCL doesn't find any BT API available, regardless is it in my code or samples. Perhaps I should use the CD that comes with the dongle, but then why does Windows just work? ;)

I'm using WCL.NET v6.6.3.0. Am I doing something wrong?

BR,
Alex

Online Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: Bluetooth API detection
« Reply #1 on: October 07, 2009, 01:00:03 PM »
Hi,

Did you redistribute wcl2wbt.dll (and wcl2wbt2.dll) on target PC? Those dlls are required for support WidComm stack. (wcl2wbt2.dll is required only if you want to change local radio name on WidComm stack. If you do not need such feature you can redistribute wcl2wbt.dll only).

It is better to copy those dlls into SYSTEM32 directory.

Offline alexey_gusev

  • Newbie
  • *
  • Posts: 34
  • Karma: 0
Re: Bluetooth API detection
« Reply #2 on: October 07, 2009, 01:04:59 PM »
opps! thanks for reminding me :)
somehow they wasn't there - though it is developer machine with WCL installed on it, so something's went wrong.
copied 2 dlls to system32 and now all's rocking

 

Sitemap 1 2 3 4 5 6 7 8 9