LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Location of cvirte.dll relative to dll

I have written a plain vanilla dll in CVI 9.0 and distributed to customer with dll and CVI (RTE) dll's in same directory.  Customer is reporting that they have to move the DLL's to their application directory in order to work properly.  Is this correct? 

 

Can the customer use:

 

handle = LoadLibrary("path_to_DLLs/name.dll");

 

and have everything work properly? 

 

Any suggestions to keep the distributed DLL's in a separate directory?

 

Thanks in advance.

 

0 Kudos
Message 1 of 2
(3,163 Views)

ruskin,

 

What your customer sees is normal. The user application must somehow "see" the dll.

 

The executables search for dll's in an order.

If your install location is not set as a search path then it will not be found.

You can keep dll's in seperate directory but you need to inform the OS about that (more on this in the link URL). 

 

It is nice to see such wise customers, btw 🙂 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(3,157 Views)