Error -143 Occurs When Running a Deployed CVI Program Using an ActiveX controlPrimary Software: LabWindows/CVI Development Systems>>Full Development SystemPrimary Software Version: 9.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have built a distribution of an application that uses an ActiveX control. However, when I deploy this application to a clean machine and try to run it, I get the error: Error in call to LoadPanel.After dismissing this dialog, my program does not run. Why does this happen, and how can I best work around this issue? Solution: This occurs because the ActiveX container has a dependency on the Visual C++ runtime that the distribution kit does not know about. Because of this, if the target computer does not already have the Visual C++ runtime installed, the application using the ActiveX control will fail. To work around this issue, add the attached merge module to your distribution. This can be done by selecting the Drivers & Components tab, and then clicking the Add Merge Module... button. This merge module will install the Visual C++ runtime as required by the ActiveX container. The other option to solve this issue is to install the Microsoft Visual C++ 2005 Redistributable Package on the target machine. Related Links: KnowledgeBase 3OPEORS9: Why Do I Get Error -143 When I Call my CVI DLL from TestStand? Attachments:
Report Date: 05/26/2009 Last Updated: 05/26/2009 Document ID: 4XPBOIXU |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
