LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error loading type library/DLL.

I got this error while opeing a DLL (ActiveX server). I tried to unregister the DLL and register it back. ALso tried to clean up the registry. Nothing works. The same DLL that is installed on another computer has no problem running it. I wonder if there is still some kind of registry failure. Please help if there is a way to fix the registry problem.
0 Kudos
Message 1 of 6
(4,142 Views)
Hey,
 
Try to use the following utility to register your DLL and see if it helps. Also what is the error code that you are getting?
 
Regards,
Ankita
 
0 Kudos
Message 2 of 6
(4,110 Views)
The error code was some (-) number. When I tried to get explaination for this error code, it said "unknown".
 
 
0 Kudos
Message 3 of 6
(4,103 Views)
Hi,
 
It will be really helpful if you could provide the error code. The fact that LabVIEW reports the error to be unknown just means that it may be a microsoft error in which case trying to google search the error may help. The fact that the error code was negative does not throw any more light on the issue. In any case, did the register utility help?
 
Ankita
0 Kudos
Message 4 of 6
(4,082 Views)

The PC is in repair. That is why I couldn't reproduce the error code. Thanks for your help.

I will try registry tool you gave me next time when it happens again.

0 Kudos
Message 5 of 6
(4,078 Views)

This problem has been resolved. It was not NI nor the corrupted registry that caused the problem. I used a third-party ActiveX Server DLL (#1) with a correct version. The DLL (#1) was actually referencing another third-party DLL (#2) that happened to be an older version than what was expected. In TestStand, loading this DLL (#1) generated "-18351: AnError Occuredreading an ActiveX Automation Server type library". After the expected version of DLL (#2) installed, the problem is fixed. Thank you for your help.

 
0 Kudos
Message 6 of 6
(4,067 Views)