LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL

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

Download All
0 Kudos
Message 1 of 3
(2,357 Views)

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?

Rolf Kalbermatter
My Blog
Message 2 of 3
(2,344 Views)

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

0 Kudos
Message 3 of 3
(2,335 Views)