03-20-2014 04:12 PM
Hello,
I am trying to create VIs from a C/C++ dll.
I have got the dll and the corresponding Header file.
But when I try to use import wizard, it shows me all the functions in the DLL but it cannot find any functions in the header file.
It gives an error that there are no functions found in the header files.
The header files has all the functions. I dont understand, as to why LabVIEW cannot see it.
I have attahced the dll and the header file and the screen shot of the wizard.
I think i am not able to attach DLL file, but i am attaching the header file
Please help.
Thanks
03-20-2014 04:26 PM - edited 03-20-2014 04:27 PM
If your header file expects some precompiler defines to work correctly you should of course not forget to add them to your import library setup. Or have you defined _WIN32 in the Preprocessor Definitions?
03-20-2014 04:44 PM
Hello Rolf,
Thank you very much. I did not define the _WIN32 Preprosessor.
I was able to generate the VIs now.
Thanks again for you help.
Regards,
Akbar Doctor