05-05-2012 08:18 AM
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.
05-05-2012 08:33 AM
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?
05-05-2012 08:48 AM
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 ![]()