LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing dll System Error but dll installed

I running Labwindows CVI 2015 and accessing a pco camera.  I am adding functionality and so I am using additional dll's.  I have installed the pco.sdk and reinstalled the pco.sdk after getting the error message.  The error message is a System Error titled dialog box saying:  The program can't start because SC2_DLG.dll is missing from your computer.  Try reinstalling the program to fix this problem.

 

I have added the path to the directory with the dll to the system path, the project path in Labwindows/CVI and the include path in Labwindows/CVI.

 

What can I do and what is causing this problem?  

0 Kudos
Message 1 of 4
(4,496 Views)

Hi swrose,

 

Have you tried putting the missing executable in the same directory as your LabWindows/CVI code? 

 

Here is a knowledgebase article that lists out all the locations the locations Windows searches for DLL's. 

 

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 2 of 4
(4,468 Views)

yes, I have tried placing the dll in the main folder with the program files in addition to adding path variable modifications.  Is there another reason the dll would not be "found" or indicated as not installed? I.e., are there dlls that labwindows/cvi does not recognize?

0 Kudos
Message 3 of 4
(4,419 Views)

Hi swrose,

 

Do you also have the header file and library file for the DLL in the same directory? You will also need both of those to use the DLL in LabWindows/CVI. If you don't have a library file, you can use LabWindows/CVI to build one. Refer to section 5 of this FAQ.

 

Also, because LabWindows/CVI is a C environment, you may not be able to interact with C++ DLL. If you are trying to use a C++ DLL, you may need to implement a C wrapper. I'm not sure if that would cause the error you are seeing but it is good to know. 

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 4 of 4
(4,402 Views)