LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

include file for .dlls

I have bought a power supply with an RS232 computer interface. The
software consists in a .dll and a .lib files (32-bit, written in C or
C++). I don't know how to write the include file to link my LabWindows/CVI
project to the libraries...
In the .dll I've functions defined like: int configcom (int Comport)

I hope you can help me!

Caterina Ducati
0 Kudos
Message 1 of 2
(2,893 Views)
That is very strange. A header file should always be provided with a DLL in order to program with it. Sometimes an import library (.lib) is not provided and CVI can generate on of those for you from the header file, but it can't generate a header file from a DLL or LIB. You really should contact the company that provided you the power supply and get a header file from them.
You can find out the function names in the DLL, but I know of no way to rebuild the header since you will not have the argument lists.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,893 Views)