LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

feature request: support for #pragma comment( lib, "..." ) in CVI

Solved!
Go to solution

this pragma instruct the compiler to link the specified library with the project. this construct is very useful for distributing libraries or source code: add this to your header, and the user of your library does not have to include the .lib file into his project. it also avoids clobbering the project file with all external libraries, which generally are only needed by one or 2 source files. this will also add some portability.

 

at this moment, CVI 8.5 seems to ignore the pragma: it does not generate a warning nor an error, but the sopecified library is not linked with the project.

0 Kudos
Message 1 of 4
(3,815 Views)
Solution
Accepted by topic author dummy_decoy

Hi

 

Please post product suggestions through our product suggestion center:

 

http://digital.ni.com/applications/psc.nsf/default?OpenForm&temp1=&node=

 

This will make sure your request goes straight to the right persons 😉

Best Regards

Michiel
Applications Engineer
NI Belgium
http://www.ni.com/ask
0 Kudos
Message 2 of 4
(3,745 Views)

suggestion filed.

 

thank you for pointing to the right URL for product suggestions, i do never remember where it is.

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

Great! 😉

 

The most easy way to find the link is to just go to ni.com and click the 'contact NI' link on the right top.

Best Regards

Michiel
Applications Engineer
NI Belgium
http://www.ni.com/ask
0 Kudos
Message 4 of 4
(3,714 Views)