From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(5,026 Views)
Solution
Accepted by topic author 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
(5,021 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
(5,013 Views)