Author Topic: Invalid Argument  (Read 15199 times)

LucaUWF

  • Guest
Invalid Argument
« 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.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Invalid Argument
« Reply #1 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.

LucaUWF

  • Guest
Re: Invalid Argument
« Reply #2 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: Invalid Argument
« Reply #3 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).

 

Sitemap 1 2 3 4 5 6 7