05-01-2021 08:57 AM
Native .Net assemblies indeed should not use pointer datatypes. So your guess that it is just an (automatically generated) .Net wrapper for an ActiveX/COM object is most likely right. Accessing the underlaying COM object directly will however only be possible if you can locate it AND it is a full ActiveX server. LabVIEW can not access pure COM interfaces directly as they lack the possibility to uniformly discover the interface definition and require C(++) programming with according.header files to do that.
without having the exact assembly available, it’s difficult to assert for sure. I don’t know how LabVIEW translates this uint8* pointer. If it is a pointer refnum the snippet should work but it could be a number of other things.
It’s basically a point for point translation of according C# marshaling code when dealing with function calls using unmanaged datatypes.