LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

import DLL .h header file syntax problem for fingerprint reader

I sure this is a simple one for a competent C++ coder!

 

I have been supplied the attached API (including DLL and .h file) for a USB fingerprint reader I am working with.

 

Problem is, Labview doesn't like some aspect of the header file. I tried replacing some of the define prefixes but it didn't seem to work.

 

Hoping someone can modify the .h and reattach! 🙂

 

Thanks in advance!

0 Kudos
Message 1 of 2
(2,773 Views)

It's not the header file it's complaining about. It's complaining that functions in the DLL are not defined in the header file to begin with. Thus, it cannot import them because the prototypes for the DLL don't exist in the header file. Specifically, these functions:

 

-  VirtualChannelEntry ()
-  ftrScanGetColorDarkImage ()
-  ftrScanGetColourImage ()
-  ftrScanGetPartOfBacklightImage ()
-  ftrScanGetPartOfDarkImage ()
-  ftrScanGetPartOfImage ()
-  ftrScanGetPartOfImageSize ()
-  ftrScanGetSmallColourImage ()
-  ftrScanZeroCalibration ()
-  ftrScanZeroCalibration2 ()
 

 


marekm wrote: 

Hoping someone can modify the .h and reattach! 🙂


Modify it how? Unless you know what those functions are and what the prototypes are, what are you going to put into a header file? Perhaps those functions are prototyped in another header file?

 

0 Kudos
Message 2 of 2
(2,760 Views)