cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

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
Reply
1 Solution
SrinathS_16
Moderator
Moderator

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
Reply
4 Replies
MichaelF_56
Moderator
Moderator

My apologies for the inconveinance bcgilfillan_2711941

The thread you referenced above should be accessible now.

Mike

0 Likes
Reply
SrinathS_16
Moderator
Moderator

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
Reply
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
Reply
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
Reply