LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An anycpu .NET assembly which works well in Labview 32bit but failed in Labview 64bit (Labview 2011)

hi, 

 I called my .NET assembly which is anycpu type with Labview 32bit and it works well. However, after transfered to Labvew 64bit version, the assembly failed and showed the error message as "Error 1172 occurred at Error creating instance of TaiFexCom in assembly Smart.TaiFexCom, TradeCom, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null"

Do I have anything else to do in labview to rectify this error?

Thanks.

 

 

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

Did you compile the assembly on a 32-bit or 64-bit computer? If 64-bit did you try creating an explicit 64-bit version?

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

I got the assembly from the 3rd party company. So what could I do is just to verify if the DLLs are 32bit or 64bit by Visual studio "CorFlags".

And it told me that is anycpu typed. Actually, I could see the "method"  in Labview 64bit. However, it failed once I excute the VI.

Did I answer your question? Sorry if not Smiley Frustrated

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