Hello all,
I'm using Labwindows-cvi 5.5 under Win98.
I want to include the I2C card to our sytem which name is PCI93LV-C interface card. I have dll, lib, and header files.
I have include the lib file into my project file and header file into source code.
There is a some lines in the header lines:
extern __declspec(dllimport) int WINAPI setup (int, int, int);
extern __declspec(dllimport) int WINAPI sendaddress (int, int, int);
extern __declspec(dllimport) int WINAPI writebyte(int, int);
extern __declspec(dllimport) int WINAPI readbyte(int, int);
extern __declspec(dllimport) int WINAPI sendstop(int);
extern __declspec(dllimport) int WINAPI restart (int, int, int);
extern __declspec(dllimport) int WINAPI getstatus(int);
extern __declspec(dllimport) int WINAPI recover(int);
extern __declspec(dllimport) int WINAPI slavelastbyte(int);
extern __declspec(dllimport) int WINAPI dllissue(void);
When I run the project, it gives me some error (for setup, sendaddress, writebyte...........) as below
"cali2c32.h"(8,41) syntax error; found ' identifier ' expecting ' ; ' "
"cali2c32.h"(9,41) syntax error; found ' identifier ' expecting ' ; ' " ......
What I must do?
Thank you