Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Moderator: DevRuss

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

Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Post 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.
Micke
Apprentice
Posts: 4
Joined: Tue Jan 19, 2021 4:07 am

Re: Overflow Exception in HIDCtrl.cs if CheckForOverflowUnderflow

Post by Micke »

was fixed

[closed]
Post Reply