06-21-2011 05:04 AM
Hi, I am using DLL generated from CVI involving a dotnet dll. The execution of the dll returns a -6579 error. DotNet DLL is in the same directory as the working directory. Which may be the problem please?
06-22-2011 12:15 PM
Hi NBChaaben,
Could you elaborate on what you mean by "working directory"? This error means CVI could not load the specified assembly. It could be a corrupt dll issue.
Can you run a simple application running this .net dll? If not, then there is probably something wrong with your dll. I've included an article on using DLLs in CVI.
http://zone.ni.com/reference/en-XX/help/370051M-01/cvi/programmerref/rules_for_using_dll_files/
Hope this helps.
Josh L.