Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Moderator: DevRuss

Post Reply
Micke
Apprentice
Posts: 4
Joined: Tue Jan 19, 2021 10:07 am

Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Post by Micke » Tue Jan 19, 2021 10:24 am

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.

Micke
Apprentice
Posts: 4
Joined: Tue Jan 19, 2021 10:07 am

Re: Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Post by Micke » Fri Jan 29, 2021 9:51 am

was fixed

[closed]

Post Reply