11-12-2009 09:43 AM
I am working with Labview 2009 and the vision module.Please find attached a project that has one DLL function. The function just get an image and return it back without doing anything.The compilation fail, giving messages that are not relevant.Could someone advice? Regards
Solved! Go to Solution.
11-13-2009 11:27 AM
Hi gabi_hor,
If you expand the error message, you'll note it says that the DLL builder is not properly registered and tells you to run a certain lvdb.exe file. Run that, then run your build again. This time it will likely faily with "Error -2147221480". This is a known issue with LabVIEW 2009. It is listed on the Known Issues Page.
Workaround: 1. Open C:\Program Files\National Instruments\LabVIEW 2009\cintools\fundtypes.h in a text editor.
2. Find the line that says #include <stddef.h>.
3. Above that line, add the following lines:
#ifdef _CVI_
#include <cvidef.h>
#endif /* _CVI_ */
4. Save the file.
5. Try the build again.
Those two things should build your DLL.