03-14-2011 05:57 AM
Dear all,
There are some troubles trying to use C# functions in Labview.
When the functions are called appears the error : HRESULT: 0x8007000B.
Could someone tell me why and how to avoid it?
Thanks
Principiant
03-14-2011 09:55 AM
Well, how about providing some details? Such as what C# functions? Is this a private assembly? Is it something from the standard .NET library? What version of LabVIEW? Are you running 32-bit or 64-bit OS? 32-bit or 64-bit LabVIEW? Is the assembly 32-bit or 64-bit? That error can happen when you try to call a 32-bit library in a 64-bit environment. If that is the case do you have a 64-bit version?
03-14-2011 03:19 PM
hi smercurio,
you are right. Well the problem is not mine directly. Anyway the all system and libraries are 32 bits. It is all a private assembly I think.
the only detail I can add is that the libraries calls seems not to correspond to the stcall of LAbview but to the cdecl.
Could be this a reason ?
03-14-2011 04:18 PM
If you have a .NET assembly you should be using the .NET functions, not the Call Library Function Node. Is this what you are doing?