1 Reply Latest reply on Jul 8, 2020 6:32 AM by YatheeshK_36

    CyAPI linking

    omco_594686

      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:

      cyapi_link_01.jpg

       

      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

      driver_version.jpg

       

       

      What is the latest API to use?

      How can I fix the linking problem?

       

      My project is attached.

       

      Omri.