The error is defined as "LabVIEW: Memory or data structure corrupt."
This can come from a number of problems with the DLL, though there are a few more common solutions. Make absolutely sure you are handling errors correctly in your shared library. If there are any errors denoting functions that do not return properly, they could give you a corruption. Also ensure that you are passing the correctly formatted LabVIEW data types to the functions, a malformed structure could be interpereted as corrupt. And finally, ensure that you are correctly destroying an objects or structures. This could lead to a memory leak, which could be construed as a corruption.
Asa Kirby
CompactRIO Product Marketing Manager
________________
Sail Fast!