Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

c# invoke dll built by labview. How?

I want to use some dll built by Labview in VS2010 C# environment. Could someone can share a simple example to illustrate what to do that? 

I also dowload an example from website and attach it as reference. But when the application running, it has an error: 

Capture.PNG

It is appreciated that you can fix this bug for me. Many thanks!

0 Kudos
Message 1 of 2
(3,749 Views)

The error occur in a x64 System?

 

If yes, so be sure, that the c# App is 32 bit. Your Test.dll is 32 bit.

Loading a 32 bit dll in x64 App result in a BadImageFormatException.

0 Kudos
Message 2 of 2
(3,671 Views)