could anyone tell me how can I use bcb6 to program the cy7c68013 with cyapi.lib?

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

cross mob
Anonymous
Not applicable
        I want to design a Data acquisition card. to use c++ builder to design upper computer's code.I had load the cyapi.lib in my project.In code,declare #include "cyioctl.h"   
#include "CyAPI.h"   
first,and in window initialize function I only write one line of code   
CCyUSBDevice *USBDevice = new CCyUSBDevice();   
then run,compiler report wrong :   
[Linker Error] Unresolved external 'CCyUSBDevice::CCyUSBDevice(void *, _GUID)' referenced from D:\WORK\USB开发板\BCB\UNIT1.OBJ   
who can help me?many thanks.   
0 Likes
1 Reply
Anonymous
Not applicable
        It looks like the Linker is having problems finding the library file. There's probably a dialog box with a whole bunch of Linker options, one of deals with external libraries. Make sure cyapi.lib is listed and make sure it's in a directory that the linker can find.   
0 Likes