Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

DLL InteropAssembly errors

$
0
0

 

Hello

 

I'm developping a software (VS2010 C#) to communicate with a prototype by SPI.

I use an aardvark as USB/SPI interface.

 

An another department developped a software (withe labview) to communicate with the prototype by SPI

I took their DLL (interopAssembly)

 

Then, I had problems to use the DLL, so I compiled it by myself.

 

In first, The exception encountered in VS2010:

dll.jpg

 

 

In Labview project, before the DLL compilation, I added the VIs functions and their dependencies.

 

Sans titre.gif

 

At the top, you have the 7 VIs that I want to use in my C# project.

 

At the bottom, functions used by the previous 7 VIs.

To export them to my DLL, I added them to My computer because I couldn't added them when they were located in user.lib and vi.lib .

sdq.jpg

 

 I didn't understood  why I have the path of Labview project in my VS2010 project. The defintion of DLL is that all functions are embeded in the DLL !

 

I don't know if the problem is located in Labview (wrong compilation) or in VS2010.

 

Thank you in advance,

Slimani


Viewing all articles
Browse latest Browse all 1999

Trending Articles