Wireless Communication Library Support Forum

Legacy => Wireless Communication Library => Topic started by: annalakshmi on March 05, 2009, 10:07:32 AM

Title: wclApi() load function does not added?
Post by: annalakshmi 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,

Title: Re: wclApi() load function does not added?
Post by: Mike Petrichenko 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.
Title: Re: wclApi() load function does not added?
Post by: JohnGL 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.
Title: Re: wclApi() load function does not added?
Post by: Mike Petrichenko 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