Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: LucaUWF on October 26, 2012, 01:25:02 AM

Title: Invalid Argument
Post by: LucaUWF on October 26, 2012, 01:25:02 AM
Hi,

I have just deployed my application to a Windows7 64bit OS.
I built my application using x86 and included all of the applicable x86 dlls.

When launching the application I now receive:

WCL Error
Invalid argument


It doesn't give me any more information than that I'm afraid. Any ideas on the problem?

Thanks.
Title: Re: Invalid Argument
Post by: Mike Petrichenko on October 26, 2012, 06:09:15 AM
Hi,

You pass some invalid argument into one of WCL function. Would be great to know what you call.
Title: Re: Invalid Argument
Post by: LucaUWF on October 26, 2012, 02:20:38 PM
Mike,

This came back from the field, and wasn't in the trace log.
As it happened it has been resolved. The user did not have any bluetooth device (and likely no drivers or stack installed). After installing his dongle correctly the problem went away.
I imagine the fault is still due to not checking the API loaded OK and could be more gracefully handled though so I will look into it.

Thanks
Title: Re: Invalid Argument
Post by: Mike Petrichenko on October 27, 2012, 06:44:57 AM
Hi,

I guess it appeared when you trying to get Radio from wclBluetoothRadios list without checking its Count (because Items.get() throws such exception).