Error : "Debug Assertion Failed"

Question: Trying to open or close the FX2LP device causes the C++ program to crash. The error displayed is "Debug Assertion Failed"

 

Answer:

This bug was fixed in a later version of cyapi.lib ( for VC++6 ). Please note that this library file is no longer supported by Cypress.