I am using a calibre PCI I2C card to program an EPROM. They sent me a driver which consists of a .h, .lib, and .dll files written for Visual C++. In the header file there is a line: "extern __declspec(dllimport) int WINAPI setup (int, int, int);" When I compile the program I wrote in labwindows it says "setup syntax error found 'identifier expecting ';' and it high lights the WINAPI word. I deleted the WINAPI word and regenerated a new dll import source and the program works...almost. The program freezes everytime I try to do a read and once in a while when I do a write. I used the same program in Visual C++ and it works fine so the software is written right. What do I do so I can use the Visual C++ .h, .lib,
and .dll in labwindows?