I am using Windows 7 x64 operating system and cy7c80 controller device with FPGA.I have been able to successfully implement UVC-compliant driver and the next task is building custom class for the video signal.
The host application is compiled by VS2010 SP1.
Also,I have succeeded to implement sort of small test application using CYAPI Streamer example (I am using the latest Cypress USB suite, 3.4.7),in which I have been able to achieve optimal speed and perform desired operations with received data.The problems occur,when I am going to the next stage and that is design the GUI according to my needs and here I face enormous obstacles:
1)Once I try to change Streamer application window form design (even the smallest change) ,several files are stripped off their "Read only" status (I think the most important is Resource.resX) and then ,the hell breaks loose - I got around 90 (!) compilation errors.Doing some tricks such as changing CLR support and adding #include <wtypes.h> and <gdt.h>,that were mentioned in obsolete cypress application note on CyAPI does not help, and I must fallback to previously saved (and untoched) backup copy.Obviously ,using Streamer example as starting point and then tweaking it to my application needs is not a possibility (unless you could provide me some workaround).
2)After abandoning the Streamer basic option , I have tried working around the problem ,by creating a fresh CLR (C++ WinForms ) application from scratch and then adding CyAPI headers.
After another torture with compilation errors and playing around with including header files and playing with CLR support I have been able to get compilation-errors free application.But then I have encountered a very critical compilation error,which at this point is a blocking error:
I have tried to create a CCyUSBDevice instance using the following simple line of code :
CCyUSBDevice *USBDevice = new CCyUSBDevice(NULL);
and I get the following linker errors :