Author Topic: wclApi() load function does not added?  (Read 3092 times)

annalakshmi

  • Guest
wclApi() load function does not added?
« on: March 05, 2009, 10:07:32 AM »
Dear Sir,

              I added the reference for the wcl.dll file, verson is  6.5.1.0.  When i load the wclApi.load() in enum button click (or) form load event, it shows an error message. The error is  "NullReferenceException was unhandled". How can i handle the error. I am developing the code using visual basic 2005.

Thanks,


Online Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: wclApi() load function does not added?
« Reply #1 on: March 05, 2009, 11:13:04 AM »
Hi.

It is because you didn't create instance of the wclAPI class. wclAPI class is not static.

Offline JohnGL

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: wclApi() load function does not added?
« Reply #2 on: June 10, 2010, 09:20:21 AM »
I'm having the same problem.  How do you create a reference for the wcl.dll?  In the project's properties it's in the References list.  I also tried to create a .Net component and drop it into to the form but that didn't work either.  Any help would be greatly appreciated.  Thank you.

Online Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: wclApi() load function does not added?
« Reply #3 on: June 11, 2010, 02:12:19 AM »
Hello,

Please, take a look on this FAQ topic: http://forum.btframework.com/index.php/topic,958.0.html

 

Sitemap 1 2 3 4 5 6 7 8 9