CyUSB.dll x64 OverflowException

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am using the CyUSB.dll (v3.4.6) in C# and it works great when my build target is x86 but if it's x64 I get an OverflowException when I call USBDeviceList().  It seems like someone else had this same post at https://community.cypress.com/thread/25307  but I don't have access to that thread.

Thanks 

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

The latest Cypress USB Suite 3.4.7 includes the CyUSB.dll file, which can be used in x64 also. The below link contains the same.

http://www.cypress.com/documentation/software-and-drivers/suiteusb-34-usb-development-tools-visual-s...

Best regards,

Srinath S

View solution in original post

0 Likes
4 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

My apologies for the inconveinance bcgilfillan_2711941

The thread you referenced above should be accessible now.

Mike

0 Likes
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

The latest Cypress USB Suite 3.4.7 includes the CyUSB.dll file, which can be used in x64 also. The below link contains the same.

http://www.cypress.com/documentation/software-and-drivers/suiteusb-34-usb-development-tools-visual-s...

Best regards,

Srinath S

0 Likes
Anonymous
Not applicable

Hello

I have already used the lasted one.

微信截图_20171026174811.png

but still have bug

微信截图_20171026174910.png

The bug is also about "usbdevicelist".It work all right in "any cpu"and "x86",but in "x64"the bug will occur. How can I deal it?

I use VS2013 windows10.

sorry for my pool english.

0 Likes
Anonymous
Not applicable

Hello,

    We created a .net dll that communicates with cyusb.dll, we build it in a x86 environment, the dll is used by excel(x86) and it has no problem at all, however we try to build the DLL in x64 environment and platform and try to use the dll by excel (x64) but it returns an error of "arithmetic operation resulted in an overflow", we try to debug and found out that it happens when a class or method in cyUSB.dll is called.

May we ask, what is the possible solution for this. We are hoping for your kind response regarding this matter.

Thank you so much

0 Likes