Author Topic: Handle wclAPI and TwclBluetoothRadio with Toshiba dongle  (Read 18025 times)

gomsun2

  • Guest
Handle wclAPI and TwclBluetoothRadio with Toshiba dongle
« on: June 24, 2014, 08:55:55 AM »
Please review the following issues.
- When I calling "wclAPI.Load" GUI is freeze and I have no idea how to handle Toshiba dongle.

I created a simple thread for wclAPI because my application freezed by calling "wclAPI.Load" on a main form.
The thread create a wclAPI object, calls "wclApi.load" and then returns created wclAPI object to the main form.
The following components are on a main form.
- TwclBluetoothDiscovery
- TwclServer
- TwclClient
- TwclAuthenticator

When I call "wclDiscovery.EnumRadios(FRadios)"  it checks the each radio status by calling "FRadios[ i].GetConnectable" and "FRadios[ i].GetDiscoverable" functions, but it returns  "Internal error".
But, if i use bluetooth(MS) inside of my notebook, the problem does not occur.
And also, if the wclAPI component on the main form, the problem does not occur.

The wcl component version is "6.13.1.0", I downloaded at "http://private.btframework.com".

Q
1. How i can call wclAPI.Load without GUI freezing.
2.If I create wclAPI and call "wclAPI.Load" in the thread, can I use TwclBluetoothDiscovery, TwclServer, TwclClient ?

Please give me an advice to solve these problems.
Thank you for your time.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Handle wclAPI and TwclBluetoothRadio with Toshiba dongle
« Reply #1 on: June 24, 2014, 10:10:29 AM »
Hello,

Make sure that there was no BlueSoleil installed before. If it is then delete bssdk.dll and btfunc.dll from System directory. If there was never BS installed show me your code with calling wclAPI.Load. Also, check that API demo does not work as well.

gomsun2

  • Guest
Re: Handle wclAPI and TwclBluetoothRadio with Toshiba dongle
« Reply #2 on: June 25, 2014, 08:34:05 AM »
Dear Mike Petrichenko.
Thank you for your advice.  :)

I had installed BlueSoleil, WidComm, Toshiba driver before, found btfunc.dll in SysWow64 directory, and deleted the file, the problem was solved.

I have another question. Please give me some advices on the following issue.
For example, some users who installed and then removed Bluesoleil driver, might experience the same problem that application freezes because of btfunc.dll/bssdk.dll in the system directory.

If some users use my product in the market,
Q1. How can I solve the same problem ?
Q2. Or how can I build strategy to avoid them ?

Thank you for your time.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Handle wclAPI and TwclBluetoothRadio with Toshiba dongle
« Reply #3 on: June 25, 2014, 09:09:53 AM »
Hello,

Great that the problem solved.

Well, I do not think that you should worry about this problem as it appears not too often. In fact, it appeared only 3 or 5 times for the past 8 years I am working with Bluetooth (including my 2 times). I do not know why sometimes BlueSoleil does not remove those DLLs when uninstalling. Also I have never heard that the problem appears on end-user PC. Only on development PC when you reinstall different drivers. But any way, I will think on it and let you know if find some solution for this.

gomsun2

  • Guest
Re: Handle wclAPI and TwclBluetoothRadio with Toshiba dongle
« Reply #4 on: June 29, 2014, 03:08:03 PM »
Hello. :)

If you found any solutions from this issue, please share with me.
Thank you again for your your assistance, best regards gomsun2.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Handle wclAPI and TwclBluetoothRadio with Toshiba dongle
« Reply #5 on: June 29, 2014, 03:27:19 PM »
Ok, Will do

 

Sitemap 1 2 3 4 5 6 7