NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error during loadind 32-bit .net dll by 64-bit TestStand

Solved!
Go to solution

Hi,

 

During sequence development when I wanted to call 32-bit  .net dll I came across an error.

 

The DLL is a 32-bit DLL and thus cannot be loaded by 64-bit TestStand.

Could not load file or assembly 'xxx' or one of its dependencies. An attempt was made to load a program with incorrect format.

 

What options I have to successfully cal this module?

0 Kudos
Message 1 of 3
(4,996 Views)
Solution
Accepted by MimiKLM

Hi,

 

You cant mix 32 bit and 64 bit DLL.You need to recompile the DLL with any CPU options ( since its a dotnet dll) or a 64 bit DLL.

 

Hope this helps.

Ravi

 

0 Kudos
Message 2 of 3
(4,991 Views)

Ok,

 

I'ce compiled the module once again for both platforms.

 

Now works under TS x32 and x64.

 

Thanks

0 Kudos
Message 3 of 3
(4,983 Views)