LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use DLL correctly in LV ?

I'm trying to use a DLL from former S/W written in C++.
The DLL is using other DLLs.
The LV doesn't find the other DLLs although they are in the same directory .
Can you direct me how to pass this issue ?

Thanks

Edo
0 Kudos
Message 1 of 2
(2,484 Views)
> I'm trying to use a DLL from former S/W written in C++.
> The DLL is using other DLLs.
> The LV doesn't find the other DLLs although they are in the same
> directory .
> Can you direct me how to pass this issue ?
>

You are using the DLL node correctly, but the problem is that it is
Windows looking for the supplementary DLLs, and it has a pretty fixed
set of places it looks. Putting the supplementary DLLs in the Windows
System directory definitely works -- this is why so many apps just dump
them in there. I think that setting your working directory to the
location of the DLLs will also work, but not real sure about that.

Greg McKaskle
Message 2 of 2
(2,484 Views)