LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pack *.uir file into DLL in CVI7

Hi!
How to pack *.uir file into DLL in LabWindows CVI7. That is to say, user only see my *.exe file and *.dll, the
*.uir files aren't seen. The *.exe file call *.uir file from DLL.
By the way, the version of my CVI is cvi7.0. if it is upgraded through the file of LWCVI_711_Patch.exe from NI Website, Does the bug of cvi7.0 exist yet?
Pls tell me!
Thanks.
0 Kudos
Message 1 of 3
(3,339 Views)
The "Embed project UIRs" option in Build >> Target settings... menu item should meet your needs.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,335 Views)
There was a bug in CVI 7.0 that does not correct embed the UIR if there were menus present. This has been fixed in CVI 7.1. The patch that you mention is only for CVI 7.1. It will not fix the menus issue.
if you dont want to have a seperate UIR and you do use menus in your application, you can use the "Convert UIR to Code" tool to convert the UIR to C code, which will get embedded into your application. You can find this under Tools >> UI to Code converter.

I hope this helps
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(3,329 Views)