LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling with embedded .UIRs in CVI 7.1.1

In my various projects I embed my UIR files (i.e. Build | Target Settings | Embed Project .UIRs).  I have upgraded to LabWindows/CVI 7.1.1, so that I can now use the command-line compiler to generate my executables.  However, when using the command-line compiler I find my UIR files are now longer embedded. 

How can I ensure the UIRs are embedded when using the command-line compiler?

Regards,
Darren

Message Edited by Darren Draper on 05-04-2006 04:58 AM

0 Kudos
Message 1 of 4
(3,401 Views)
Darren,

Actually, you'll need to use CVI 8.0 for this. In CVI 7.1, the command line compiler did not embed UIR files.

Sorry about that.

Luis
NI
Message 2 of 4
(3,380 Views)
Thanks for the reply Luis.

I need to stay with CVI 7.x as I need to continue supporting Win NT4 with my application (and moving to CVI 8.0 would prevent me from doing so), hence my requirement to use the command-line compiler as shipped with CVI 7.x.

However, I have discovered that the build.exe application that is provided in the C:\Program Files\National Instruments\CVI71\samples\activex\cvi subdirectory provides a command-line-initiated build which does provide the ability to embed the UIR files.  It would appear that build.exe effectively automates the opening of the specified project into CVI IDE and then automates the build actions for the project.

Regards,
Darren



Message 3 of 4
(3,372 Views)
That is correct. The build.exe example uses ActiveX Automation to tell CVI to build projects. It's going to be a bit slower, but it is still automatable.

Good catch!

Luis
Message 4 of 4
(3,357 Views)