Error of Install Path of LabVIEW Runtime Engine in DLL or .NET Assembly

Updated Jul 30, 2018

Reported In

Software

  • LabVIEW

Issue Details

I created a DLL from LabVIEW code and compiled it using the Application Builder in my LabVIEW project. I am trying to use that DLL in my C or C# application. However, when I try and call the DLL I get the following error message:
Unable to determine the install root path for the LabVIEW Runtime Engine

How do I resolve this error?
 

Solution

To resolve this issue, try the following:
  1. Ensure that you have installed the same version and bitness of the LabVIEW Runtime Engine as the version of LabVIEW that the DLL was built in. For example, if the DLL was built in LabVIEW 2016 32-bit, then the LabVIEW Runtime Engine installed on the target computer must also be version 2016 32-bit.
  2. Ensure that the C or C# application is targeted for a specific processor, rather than any processor. Otherwise, the DLL does not know which version of the LabVIEW Runtime engine to call. Thus, if the DLL was compiled in LabVIEW 32-bit, and you have the proper runtime engine installed, your application should target an x86 processor in order to successfully run the DLL.

WAS THIS ARTICLE HELPFUL?

Not Helpful