I wrote a test win32 console app. I connected to it external libraries. When i compile the project occurs the error: "xx.lib: error adding symbols: File in wrong format". What keys should I use to get rid of errors?
The information you have given us is very scarce... Probably you are using MinGW in Windows, is that so?
Maybe you could try first a hello application with plain C (no U++), link to it the libraries, one by one, to see what is the one that is the source of the problem. To do that you can open TheIDE, click on "New package" (lower right side), and choose "Console application (no U++)"
I download stable version TheIDE with MINGW. And, I using it in Windows 10 pro (x64).
This problem occurs in my "Console application (no U++)". It is little programm (sample) for test the usb module (UMFT4222EV). But I do not linked it.
Program runs successfully with TDM MinGW and MSC15 32 bits, just by using your files unchanged.
Message printed is: No FT4222 device is found!, as it seems my computer does not have any FDTI chip. Before running it I should have to download the dll and lib from previous link in FDTI (Future Technology Devices Intl.), as the ftd2xx.dll file was not in the .zip.
This is the screenshot of my "Build Methods". Please try with it: