2 Replies Latest reply on Mar 11, 2019 1:32 AM by sesk_4098801

    CyAPI.lib & VS2017

    sesk_4098801

      Hello!

       

      A  few  years  ago, I wrote an C++ application for Windows - use CY68013, CyAPI-based, and it work good.

      And now, after migrating from Visual Studio 2015 to Visual Studio 2017, my application (for CY68013, CyAPI-based) can not build anymore!

      I've got the error message:

      1>CyAPI.lib(CyAPI.obj) : error LNK2019: unresolved external symbol _sprintf referenced in function "public: void __thiscall CCyUSBDevice::UsbdStatusString(unsigned long,char *)" (?UsbdStatusString@CCyUSBDevice@@QAEXKPAD@Z)

      It seems that problem is into CyAPI.lib.

      How can I fix it?

       

      Thnx.