01-05-2010 08:48 AM
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.
01-05-2010 09:51 AM
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 🙂