I have the .dll of an instrument and I want to use it in a Labwindows/CVI program. But I just have the .dll (I don´t have the .h or the .lib). How can I use the dll then?
Hello, You don't need a .lib file, but you really need the .h file, so that your CVI program knows the parameters of all the DLL functions called from it. Otherwise, your program would not compile.
Mika Fukuchi Application Engineer National Instruments
Your .h file doesn't need to include all the functions in the DLL, just the ones you're trying to call. The compiler needs the function prototype info so it can compile your program. You need to know the function prototype info so you can create the call to the DLL function.