LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

dll

Hi all,

 

I develop a driver for a programmer Psoc and i compiled a dll. I put it into a file called Psoc. i want ti use it in my main project. The problem is that to use it without bugs, i have to copy it in the project dirctory. 

i want to use it from its file. 

 

How to do?

 

Thanks for your replay.

Regards.

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

Hi FibiliA,

 

If you want a project to be able to reference a .dll file whithout moving it to the project directory you can add the .lib and .h files (which should be in the same directory as the dll, but not the project) to the project in CVI by going to Edit > Add Files to Project. This should allow CVI to reference the DLL since it can find the .lib and .h files now.

 

Regards,

Kevin

0 Kudos
Message 2 of 2
(3,949 Views)