08-04-2023 04:14 AM
Hello,
I have the following problem: I have created a DLL in LabVIEW that I want to use in C#. The method is theoretically exactly the same example shown on National Instruments. However, the C# compiler tells me that the DLL cannot be loaded. The code is visible in the image. Does anyone know why the DLL is not being loaded or recognized?
Thanks in advance!
08-04-2023 04:34 AM
You use LabVIEW 32-bit and a 64-bit C# IDE (or vice versa)?
You try to use this DLL on the same PC as on which you developed it or on a different one?
08-04-2023 07:41 AM
Instead of C DLL, why don't you build an .NET Interopp Assembly instead?
How Do I Use a LabVIEW-Built Shared Library in a .NET Project?
Characteristics of LabVIEW-Built.NET Interop Assemblies