LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error loading type library/DLL?

I am using ActiveX to call a LabView VI, compiled with the ActiveX
Server option enabled. When I load the VI (using the CreateObject
method) the front panel appears, but I get back this error:
"0x80029c4a {Error loading type library/DLL.}". What is wrong, and
how do I fix it? My program can't proceed beyond that point, because
it doesn't have a valid handle for the VI.

The VI is known to work (it is the "Frequency Response" example
from 'examples\apps\freqresp.llb').

Leslie
0 Kudos
Message 1 of 2
(3,708 Views)
When you open an instance of the application, make sure you are not opening a reference to LabVIEW, but to your stand alone application. In order to do this, you need to make sure your application is registered with the windows system. You can do this by either running the installer for it, or by running the executable with /register after it in the command line. In your code, you should create an instance of the application, then an instance of a VI pointer and use the GetVIReference method to assign a VI object reference to the pointer.
0 Kudos
Message 2 of 2
(3,708 Views)