LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a LabView dll in C++ Builder

I have created a dll in LabVIEW which I have added to my project in C++ Builder.  When I run my application it throws the following error: 
 
"System error 998 while loading the LabVIEW Run-Time Engine(C:\Program Files\National Instruments\Shared\LabView Run-Time\8.0\lvrt.dll). SHAREDLIB requires a version 8.0 (or compatible) LabVIEW Run_time Engine.  Please contact the vendor of SHAREDLIB to correct this problem."
 
C:\Program Files\National Instruments\Shared\LabView Run-Time\8.0\lvrt.dll does exist.
 
Please advise. 
0 Kudos
Message 1 of 6
(3,553 Views)
 

You will need the LabVIEW 8 Run-Time engine installed in order to call a dll built with LabVIEW 8. You can either download it from ni.com/downloads under Drivers and Updates, or you can package it with your executable by building an installer for your project and including the LabVIEW 8 Run-Time engine with that. Hope this helps!

 
Jarrod S.
National Instruments
0 Kudos
Message 2 of 6
(3,538 Views)
LabVIEW 8.0 enterprise suite is installed on my computer which is where I am trying to run the dll from.  Do I still have to install LabVIEW 8.0 run time engine?
 
Thanks,
 
Jennifer
0 Kudos
Message 3 of 6
(3,533 Views)

I'm honestly surprised it's not installed. The answer is yes, you will need it. It should have installed by default along with the LabVIEW Development System, however. Try installing it from here for WinXP and let me know if this resolves this. Make sure you install the 87MB version, not the smaller version. The smaller version is only designed for viewing remote panels in web pages. You can also install it from your original LabVIEW installation CD if you don't have a quick internet connection. I suppose it's possible you selected not to install the run-time engine, but you would have had to do so manually.

 
Jarrod S.
National Instruments
0 Kudos
Message 4 of 6
(3,527 Views)
I went ahead and installed LabVIEW run time engine 8.0 and I still get the same error as above.  Has anyone sucessfully used a LabVIEW dll in C++ Builder.  Is there there something I'm missing when creating the dll in LabVIEW or using it in Builder?  My program sucessfully compiled and liked with the LabVIEW library I added.  For some reason the dll can't find the run time library. 
0 Kudos
Message 5 of 6
(3,529 Views)
 

Hi Jenn, you might try the suggestions made in this thread. It looks like it might be Microsoft bug. Let me know if this helps.

 
Jarrod S.
National Instruments
Message 6 of 6
(3,523 Views)