05-24-2013 11:25 AM - edited 05-24-2013 11:28 AM
Why does the same DLL file produce difference function prototypes?
I inserted the call library function node in my VI directly. However it has the incorrect function prototype.
This call library function node I copied from the “Goodness of Fit.vi”. This has the correct function prototype.
Solved! Go to Solution.
05-24-2013 11:59 AM
The DLL file DOES NOT produce prototypes at all. That is up to you! Look at the parameters tab for both of your examples, you will see that for the second one, someone has already filled in the prototype information. When making a new DLL call, you will need to know the correct prototype to apply, this is usually obtained from the .h (header) file.
05-25-2013 03:51 AM
You are interfacing unmanaged DLL, it has no information about its interface. It is up to the programmer to configure it using the documentation or the DLL files it was built from.