LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change what third party DLLs my project is linking to in LabWindows 8?

Solved!
Go to solution

So my company has an extension written in c built with LabWindows 8 it is an extension for the Tcl scripting language. After I build the application the resulting DLL is dependant on another DLL: tcl84.dll. Also, these lines is generated in the .cws file:

 

[DLLs Used By Executable 0001]
DLL 0001 = "/C/Tcl/bin/tcl84.dll"

 

This DLL is not needed by the project as we have several other extensions for Tcl also written in LabWindows that do not have this dependancy. To my surprise however, the other extensions we have for Tcl also have the above line in thier .cws file. Yet the are not listed as a dependency when I examine them with a program like Dependency Walker and the extensions run properly when I remove tcl84.dll from the system.

 

I have tried deleting the line from the project file and LabWindows simply regenrates it upon my next build. Also, I made an entirely new project carrying over only the .c and .h files and setting up the new project from scratch, but LabWindows still auto-generates those lines when I get my first successful build.

 

I've included the entire project directory in my post.

0 Kudos
Message 1 of 4
(3,194 Views)

Does this tcl84.dll interfere with your dll?

 

http://www.ni.com/white-paper/8911/en

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,161 Views)

@Edna-S wrote:

Does this tcl84.dll interfere with your dll?

 

http://www.ni.com/white-paper/8911/en


Yes, I need to be able to use this dll with tcl 8.6 but tcl84.dll restricts it to only be used on tcl 8.4.

 

That link appears to be involved only with the tcl side of things rather than how LabWindows interacts with dlls.

0 Kudos
Message 3 of 4
(3,151 Views)
Solution
Accepted by topic author jjno91

Solved. Here's a link to my Stack Overflow question with details on the solution:

 

http://stackoverflow.com/q/16486066/1919345

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