LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while using LabVIEW 8.2.1 Dll from Visual C++ 6.0

I am getting an error while using a LabVIEW 8.2.1 dll from Visual C++ 6.0 application. This is what I am doing:
1) Created a dll using LabVIEW 8.2.1 (I used a tutorial from NI knowledge base: "Creating DLLs from 6.0i". It is a temperature conversion VI; input DegreeF and get DegreeC out). Instead of LabVIEW 6.0i, I used 8.2.1. It created the dll Convert_Temp.dll successfully.
2) Then I created a Visual C++ 6.0 application (used a tutorial from NI knowledge base: "Calling a DLL from Microsoft Visual C++ that was Generated by LabVIEW 6i). I could build the project and create an executable application F_To_C.exe.
3) Then copied the LabVIEW dll Convert_Temp.dll into the folder where F_To_C.exe resides. Using windows explorer, went into that folder, and executed the application.  I got the following error:
 
System Error 998 while loading the LabVIEW run-time engine (C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.2\lvrt.dll).
Convert_Temp requires a version 8.2.1 (or compatible) LabVIEW Run-Time Engine. Please contact the vendor of Convert_Temp to correct this problem.
 
I checked the folder: C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.2\. It has the file lvrt.dll.
 
So why am I getting this error?
 
GKB
 
 
 
0 Kudos
Message 1 of 3
(3,206 Views)
Hi GKB-

The following forum addresses this same issue and links to other forums that help as well. Try the suggestions here and reply if they do not fix it.

System Error 998 While loading the Labview Run-Time Engine

Hope this helps!  Have a good one!
Drew Pierce | District Manager, Central Texas | National Instruments
0 Kudos
Message 2 of 3
(3,176 Views)
sounds like you need to install the LabVIEW 8.2.1 runtime. Not the 8.2 runtime engine.

Paul
0 Kudos
Message 3 of 3
(3,167 Views)