01-19-2009 08:01 AM
Hello
I got a DLL and tried to use it in my programm with CLFN. But when I select library in CLFN dialog box, I receive the message "The file selected is not a valid library". In other hand, DLL is provided with an example program (.exe) which works fine. DLL is in attachement.
01-19-2009 08:14 AM - edited 01-19-2009 08:14 AM
Hi Err,
LabVIEW can't find an exported function in this library. Maybe your exe sends messages to this dll.
Mike
01-19-2009 08:35 AM
Thanks, Mike!
Does it mean that DLL crashed?
01-19-2009 08:41 AM - edited 01-19-2009 08:41 AM
Hi Err,
i'm not sure. Do you have the source code for the example exe? Do you have a description of your dll?
No, it does not mean the dll crashed. You (the dll creator) can descide which function shall be exported.
Mike
01-19-2009 10:11 AM - edited 01-19-2009 10:12 AM
I guess your file is damaged. It has some bad data. Look at the bottom of the export table. Get a new file