CyUSB.dll for VS2015 Console Application

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
dilic_2635671
Level 4
Level 4

Hi,

I am trying to do a console application using CyUSB.dll. For some reason, I just can't add the dll to the project. See attached screen shot.

My question is "am I able to reference to CyUSB.dll" for VS console application? I am using SDK 1.3.

Thanks,

Dick

0 Likes
1 Solution
dilic_2635671
Level 4
Level 4

I got it now. It's windows.h. Thx

View solution in original post

0 Likes
2 Replies
dilic_2635671
Level 4
Level 4

I got it, I should use static lib instead of ddl.

So I did add inc directory and .lib directory. Now the problem became CHAR is not defined in cyusb30_def.h. I thought this should already defined somewhere. Why do I get this failure?

c:\program files (x86)\cypress\ez-usb fx3 sdk\1.3\library\cpp\inc\cyusb30_def.h

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\library\cpp\inc

C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\library\cpp\lib\x64

Thanks,

Dick

0 Likes
dilic_2635671
Level 4
Level 4

I got it now. It's windows.h. Thx

0 Likes