Using CyAPI.lib in BCB program | Cypress Semiconductor
Using CyAPI.lib in BCB program
I want to use CyAPI.lib in my BCB program.
After adding code lile below
#pragma comment(lib,"C:\\Cypress\\Cypress Suite USB 3.4.7\\CyAPI\\lib\\x64\\CyAPI.lib")
in cpp file, and compling, error is showed as below.
[Linker Error] 'C:\CYPRESS\CYPRESS SUITE USB 3.4.7\CYAPI\LIB\X64\CYAPI.LIB' contains invalid OMF record, type 0x21 (possibly COFF)