01-14-2010 01:49 PM
I have dll file for x-rite which is a color meter.
Now I tried importing the complete dll file into
labview. It does detect some 10 functions out
of 500. I am attaching screenshot of the error
message. I donot know what to fix as I am not
much of a programmer.
01-14-2010 01:55 PM
That's not an error and there is probably nothing to fix. There is often (usually) functions that are not exported and not available to be called externally. They are functions that are called by other functions in the dll.
You should have gotten some documentation on the api for the dll from the vendor. If my guess is correct, the documentation will only describe the 10 or so exported functions.
01-15-2010 01:59 AM - edited 01-15-2010 02:00 AM
Not seeing the header file it's one big guessing, but there can be in fact just the opposite of what you describe Dennis. The functions are exported from the DLL but the header file does not contain any declaration for them (because they are private, declared in a different header file, or simply forgotten by the programmer, etc).
Another option is that they use parameter types that the import library wizard can not properly resolve. The Matrix type functions might be a good canditate for that, depending how a Matrix is implemented with that API.
Since the imported functions all have a specific prefix, I would guess that there would need to be one or more different header files for some of the other APIs.
01-15-2010 08:37 AM
It is my bad. those are the only functions available.
thank yhou anyway.
01-15-2010 10:38 AM
I have the following error when I am using a DLL
to import functions. screen shot of the error message
is attached to this mail. Just let me know if if anyone has
seen something like tghis before.
01-15-2010 04:17 PM
06-07-2010 07:10 PM
06-07-2010 07:42 PM
Hey
I didnt even get to what you have got until now.
Can you post the code, I will try to modify it and
I think there is a way to get what you need.
Yesh
06-08-2010 12:25 AM - edited 06-08-2010 12:25 AM
06-08-2010 05:02 PM
I have just reviewed my license agreement for the SDK and at this moment, I am unable to upload the source code or the header files. I guess, I might be on my own with this one. By the way, how were you able to get the call library without the header file?
Tin