03-25-2023 09:12 AM
Hi, I have a .DLL file however i do not have the corresponding .h file. How can I use it in Labwindows/CVI?
03-25-2023 12:21 PM
Search online and CVI documentation for dynamic or explicit linking.
04-02-2023 04:49 PM - edited 04-02-2023 04:53 PM
While the previous poster is technically correct you still need to know what functions you can link to (the easy part) and what the function prototype is (only really possible if you have a good documentation of those functions). You need to be able to setup function pointer typedefs with the right calling convention and parameter datatypes to call those imported functions properly.
Basically the headers are the absolute minimum, the dynamic linking as explained can help if you have no import library available or the presence of the dynamic library is optional and its absence should not prevent your application from starting up.