06-24-2009 03:23 AM
I can not make dll DTMF Decoder3.vi. When I created dll file, I did not get any error message. But it is not work.
When I try to add this file in the references, c# give me this error message : A reference to ".... .dll" could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
What is wrong? How can I make dll properly?
Thanks...
06-24-2009
05:28 PM
- last edited on
08-27-2026
01:08 PM
by
Content Cleaner
Radar,
Hello! When you say C# gives you the error message: A reference to ".... .dll" could not be added. What does the ".... .dll" mean. Is this the .dll that you are creating? Is this another .dll? Or does it literally say ".... .dll"
Also, check out this article.
Calling LabVIEW VIs from Other Programming Languages
06-24-2009
11:16 PM
- last edited on
08-27-2026
01:08 PM
by
Content Cleaner
You cannot add a reference to a LabVIEW DLL from C#. You can only add references to .NET assemblies or registered COM objects. For a regular DLL you must use DLLImport calls. Please look at C# tutorials on how to call DLLs, which are considered unmanaged code. You can also find an example in this thread.