Wireless Communication Library Support Forum

Common => FAQ => Topic started by: jasonthor2 on January 25, 2012, 11:21:14 AM

Title: Running the executables
Post by: jasonthor2 on January 25, 2012, 11:21:14 AM
This API is just great - what a great tool!
I've stranded on a windows error though, when running the wcl.dll on another machine without Visual Studio :-(
First I thought it was an 64 / 32 bit, or .Net version issue with my application. However, I get the same problem when running e.g. the BluetoothClientDemo. On my developer machine, everything is great. When I move the binaries to a customer machine with correct .Net version etc, I get the "BluetoothClientDemo has encountered an error and has to close" error. Under details there seem to be a system.io.filenotfoundexception. Is the wcl.dll not loading? I don't have a license yet, but if that's the problem it would be nice to get a messagebox for that instead...
Thanks,
/J
Title: Re: Running the executables
Post by: jasonthor2 on January 25, 2012, 11:51:03 AM
I think the problem was that vcredist_x86.exe was not installed on the target machine.
Double-checking...
Title: Re: Running the executables
Post by: Mike Petrichenko on January 25, 2012, 11:57:28 AM
Hello,

You do not need all vc redist package. Just a few DLLs (which are shipped with WCL and usualy copied into your project build directory when you build your app or WCL demo).

To find out what files are required to be distributed with your application check this link: http://www.btframework.com/howto.htm#redist
Title: Re: Running the executables
Post by: jasonthor2 on January 25, 2012, 01:52:23 PM
That was a great link!
Finally I've found a well supported API and a great package for Bluetooth.
Thanks!
/J
Title: Re: Running the executables
Post by: Mike Petrichenko on January 25, 2012, 01:55:08 PM
You are very welcome.