05-17-2007 11:31 AM
It is difficult to tell if its the DLL or LabVIEW that is ultimatily the end result of the crash. I will say that a cpp error is not the most elagant way to tell someone that some incorrect behavior has occured. On the otherhand if you use a Call Library Node Function to call a bad DLL it will close labVIEW as well. I think this is something R&D is going to have to troubleshoot. You may want to try to comment out portions of your source and recompile your DLL (if possible) to see if it is related to certain code inside of the source.
05-18-2007 07:10 AM
Kevin,
I tried deleting the Dll then set up the call function node; typing in each entry as opposed to selecting it from the dropdown. Saved and closed the VI, then reopened and linked it to the dll when
I know that this particular function is in the dll (it’s a 3rd party dll so I do not have the source code) because I have sample C code and Java that calls this function and works properly.
I am currently trying to create c code to utilize the code interface node, and attempt to call the dll this way. Unfortunately I am not by any means fluent in c code. Possibly this approach will work for you?
I am posting in hopes that this information is helpful and we can help each other and find a workaround.
Thanks,
Chris
05-18-2007 05:00 PM
05-23-2007 03:06 AM
06-11-2007 09:15 AM