LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

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?

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?

0 Kudos
Message 1 of 2
(2,785 Views)

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.

 

 

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,773 Views)