11-17-2016 09:25 AM
I'm using LV Runtime 2016 to access an exported assembly in VB2013. When I call the function that uses the DLL, I get the following exception:
System.MissingMethodException was unhandled
HResult=-2146233069
Message=Method not found: 'IntPtr NationalInstruments.LabVIEW.Interop.DataMarshal.GetDataPointerWithTDRForArrayIn2(IntPtr, System.Array, Int32, Int32, Int32, IntPtr ByRef)'.
Source=TestAssembly_alt
Am I doing something wrong with the Runtime? I looked at the Interop Object in Object inspector but couldn't see the "DataMarshall.GetDataPointerWithTDRForArrayIn2" method...
Solved! Go to Solution.
11-17-2016 01:39 PM
Figured it out... The Interop DLL version in the standard runtime installer is 1.0.0.0 and in the runtime installer with DAQmx it is 1.4.0.0... The 1.0.0.0 version does not have that method... Don't know why they aren't the same in each runtime installer
12-17-2020 11:36 AM - edited 12-17-2020 12:18 PM
*DISREGARD* Figured out my solution
I've been trying to solve my problem the exact same way but using 1.3.0.0.
Was there any particular way you went about implementing this solution?