- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I'm trying to start with a new C++ project for my application (with VS2019) and I've encountered linking issue.
First, I used the the API from "\EZ-USB FX3 SDK\1.3\library\cpp" and simply tried to open a new device with:
USBDevice = new CCyUSBDevice((HANDLE)USBDevice, CYUSBDRV_GUID, true);
It fails due to linking issues:
Next, I tried and API from "Cypress Suite USB 3.4.7" and it compiles.
I continued with this API and face another issues... I can't see the right MaxPktSize which equals to 16384.
Is this API supports USB3?
My driver version is 1.2.3.23
What is the latest API to use?
How can I fix the linking problem?
My project is attached.
Omri.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Omri,
Please include
1. setupapi.lib in the linker dependencies: Project Properties -> Linker -> Input -> Additional Dependencies.
2. Add the setupapi.h header file in the main cpp file.
Thanks,
Yatheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Omri,
Please include
1. setupapi.lib in the linker dependencies: Project Properties -> Linker -> Input -> Additional Dependencies.
2. Add the setupapi.h header file in the main cpp file.
Thanks,
Yatheesh