Page 1 of 1

Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Posted: Tue Jan 19, 2021 4:24 am
by Micke
Hi,
exception is thrown at

Code: Select all

   DeviceInterfaceDetailData.ToInt32()
   at HIDCtrl.HIDController.Connect() in ..\SDK\CSharp\Common\HIDCtrl.cs:line 217
I compile for x64 with

Code: Select all

<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
what is additional to your *.csproj definition. Is the overflow a intended behavior ?
I ask because you havn't defined a explicit CheckForOverflowUnderflow=false.

Re: Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Posted: Fri Jan 29, 2021 3:51 am
by Micke
was fixed

[closed]